unique id for data types

Barney Hilken b.hilken at ntlworld.com
Tue Sep 18 11:41:33 EDT 2007


Hi Simon, thanks for the response.

In fact I really only need NameCmp to be defined for datatypes of the  
form
	data T = T
but it's still a lot, so I was expecting to need an extension.  
Lexical comparison of fully qualified names is what I had in mind,  
but I wanted some confirmation that such things exist!

I could post a GHC feature request, but unless I get someone else  
interested in this, it would probably just sit in Trac indefinitely.  
Where should I look in the ghc source if I want to add it myself?

Barney.



More information about the Glasgow-haskell-users mailing list