2008/10/2 Jon Fairbairn <[EMAIL PROTECTED]>: > Benjamin L.Russell <[EMAIL PROTECTED]> 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)... Cheers, Thu
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe