
10 Oct
2003
10 Oct
'03
11:26 p.m.
John Meacham wrote:
I vaugly remember using tuple sections at some point, but perhaps I was dreaming because they don't seem to actually exist. I mean something like (,3) meaning \x -> (x,3) (4,,,3) meaning \x y -> (4,x,y,3)
were these supported at one point?
I don't know for sure, but they don't work in any of the versions of
GHC or Hugs which I have. Perhaps you are getting confused with:
(,) meaning \x y -> (x, y)
(,,) meaning \x y z -> (x, y, z)
etc, which do work.
--
Glynn Clements