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 always wanted Haskell to be defined in terms of an idealised syntax together with a (at the time ASCII) machine representation that approximated it. As time went by, we could gradually have made the approximation approach the ideal. It would probably have been a mistake politically, though (people would have muttered about APL). Nowadays it might be more acceptable. -- Jón Fairbairn [EMAIL PROTECTED] http://www.chaos.org.uk/~jf/Stuff-I-dont-want.html (updated 2008-04-26) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe