[Haskell-cafe] IO () and IO [()]

Bryan O'Sullivan bos at serpentine.com
Wed Mar 12 17:13:50 EDT 2008

Lennart Augustsson wrote:
> Yes, I wish Haskell had a 1-tuple.  The obvious syntax is already taken,
> but I could accept something different, like 'One a'.

Python's one-tuple syntax is (1,).  The obvious difficulty with adapting
this notation to Haskell lies in how one might write the constructor as
a section.


More information about the Haskell-Cafe mailing list