
8 Dec
2009
8 Dec
'09
8:59 a.m.
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@gmail.com