[Haskell-cafe] Re: Announcing OneTuple-0.1.0

minh thu noteed at gmail.com
Thu Oct 2 05:50:58 EDT 2008

2008/10/2 Jon Fairbairn <jon.fairbairn at cl.cam.ac.uk>:
> Benjamin L.Russell <DekuDekuplex at Yahoo.com> writes:
>>>Note:  the singleton tuple does not support tuple syntax.
>> What is the syntax for the singleton tuple? [...]
>> the singleton syntax will be different from the non-singleton syntax,
>> which is also syntactically inelegant.
>> What is your solution?
> Replace () in tuple syntax with ⟨⟩ (unicode 0x27e8 and 0x27e0).

I thought to this idea in another way : parenthesis could be used for
s-expressions and ⟨⟩ (unicode 0x27e8 and 0x27e0) could be used for
regular grouping. This would allow to switch in the same code between
infix and s-expr (e.g. enabling SXML)...


More information about the Haskell-Cafe mailing list