[Haskell-cafe] Lisp like symbols in haskell

minh thu noteed at gmail.com
Tue Dec 8 03:58:51 EST 2009


Probably in the same way integers are made redundant :
data Integer = 0 | 1 | 2 | ....

Cheers,
Thu

2009/12/8 Lyndon Maydwell <maydwell at gmail.com>:
> Aren't symbols made redundant by algebraic data types?
>
> On Tue, Dec 8, 2009 at 4:48 PM, Michael Vanier <mvanier42 at gmail.com> 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
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list