[Haskell-cafe] Re: 'par' - why has it the type a -> b -> b ?

Jonathan Cast jonathanccast at fastmail.fm
Mon Sep 29 13:53:18 EDT 2008


On Mon, 2008-09-29 at 19:50 +0200, Achim Schneider wrote:
> "Sean Leather" <leather at cs.uu.nl> wrote:
> 
> > > > (\x y -> y)
> > >
> > > *shudder*
> > >
> > > I just can't stand such things.
> > >
> > 
> > What is it that you can't stand? Would you prefer "flip const"?
> > 
> It's the missing "x" on the right side. Makes my internal C compiler
> ache.

(\ _ y -> y)

Or fix your internal C compiler.

jcc




More information about the Haskell-Cafe mailing list