[Haskell-cafe] Lisp like symbols in haskell

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Dec 8 03:59:53 EST 2009

Hello Michael,

Tuesday, December 8, 2009, 11:48:09 AM, you wrote:

> Do you mean symbols as in "interned strings with an O(1) string
> comparison method"?  I would love to have those, but I don't see an easy
> way to get it without being in the IO or ST monad.

you could intern IO usage with unsafePerformIO. it's implemented in
GHC sources, afair it's FastString type or so

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list