[Haskell-cafe] Exercise in point free-style

Neil Mitchell ndmitchell at gmail.com
Fri Sep 1 11:44:59 EDT 2006


Hi

> func2 f g l = filter f (map g l)
> is
> func2p f g = (filter f) . (map g)

func2 = (. map) . (.) . filter

Again, how anyone can come up with a solution like this, is entirely
beyond me...

Thanks

Neil


More information about the Haskell-Cafe mailing list