haskell:
> 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)
> 
> is
> 
> func2p f g = (filter f) . (map g)
> 
> Which isn't exactly point-_free_. Is it possible to reduce that further?

Similarly:

    lambdabot> pl func2 f g l = filter f (map g l)
    func2 = (. map) . (.) . filter

:)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to