Java-like

Ben Rudiak-Gould Benjamin.Rudiak-Gould at cl.cam.ac.uk
Wed Feb 8 13:01:15 EST 2006


Marcin 'Qrczak' Kowalczyk wrote:
> Ben Rudiak-Gould <Benjamin.Rudiak-Gould at cl.cam.ac.uk> writes:
>> Parametricity, what else?
> But he is writing the function inline.

Well, I took it as a stripped-down example. I've often wished for a 
nonrecursive let in Haskell so that I could write let x = ...x... in ..., 
and restricting x's interface would be similarly useful. But you could argue 
that I should break out my pipeline stages into separate functions and 
compose them, and I suppose you'd probably be right.

-- Ben



More information about the Haskell-prime mailing list