Probably in the same way integers are made redundant : data Integer = 0 | 1 | 2 | ....
Cheers, Thu 2009/12/8 Lyndon Maydwell <[email protected]>: > Aren't symbols made redundant by algebraic data types? > > On Tue, Dec 8, 2009 at 4:48 PM, Michael Vanier <[email protected]> wrote: >> jean-christophe mincke wrote: >>> >>> Hello, >>> >>> Has there already been attempts to introduce lisp like symbols in haskell? >>> >>> >>> Thank you >>> >>> Regards >>> >>> J-C >>> >> >> J-C, >> >> 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. >> >> Mike >> >> >> _______________________________________________ >> Haskell-Cafe mailing list >> [email protected] >> http://www.haskell.org/mailman/listinfo/haskell-cafe >> > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
