Andrew J Bromage
Wed, 11 Dec 2002 14:05:51 +1100
On Tue, Dec 10, 2002 at 06:46:27PM -0800, John Meacham wrote:
> how about adding a show instance for Unique in Data.Unique? oftentimes
> arbitrary unique labels need to be generated, but 'hashUnique' doesnt
> guarentee the returned Int is unique. there is no way to add this
> functionality outside of the Data.Unique module since Unique is opaque.
What do you propose that the show method would actually return on
a Unique? I think this is far from obvious, as any such method
would break the opacity of Unique, and hence limit the number of
ways that it could be implemented.