[Haskell-cafe] Exercise in point free-style

Julien Oster haskell at lists.julien-oster.de
Fri Sep 1 11:43:04 EDT 2006

Julien Oster wrote:

> But I'm having problems with one of the functions:
> func3 f l = l ++ map f l

While we're at it: The best thing I could come up for

func2 f g l = filter f (map g l)


func2p f g = (filter f) . (map g)

Which isn't exactly point-_free_. Is it possible to reduce that further?


More information about the Haskell-Cafe mailing list