[Haskell-cafe] symbol type?

Stefan O'Rear stefanor at cox.net
Wed Oct 10 02:38:14 EDT 2007


On Tue, Oct 09, 2007 at 11:28:08PM -0700, Michael Vanier wrote:
> Is there an implementation of a symbol type in Haskell i.e. a string which 
> has a constant-time comparison operation?

Yes, I beleive GHC uses one (utils/FastString.lhs iirs)

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20071009/dcfbc221/attachment.bin


More information about the Haskell-Cafe mailing list