[Haskell-cafe] Point-free style

Daniel Fischer daniel.is.fischer at web.de
Mon Feb 14 08:40:56 EST 2005


Am Montag, 14. Februar 2005 13:45 schrieb Thomas Jäger:
> On Mon, 14 Feb 2005 11:07:48 +0100, Daniel Fischer > And could one define
>
> > \f g h x y -> f (g x) (h y)
> >
> > point-free?
>
> sure,
> ((flip . ((.) .)) .) . (.)
>
> Thomas

Cool!

But I must say, I find the pointed version easier to read (and define).

So back to the question before this one, is there a definite advantage of 
point-free style? 

I tend to use semi-point-free style, but I might be argued away from that.

Daniel


More information about the Haskell-Cafe mailing list