[Haskell-beginners] foldr point free notation
Bob Ippolito
bob at redivi.com
Wed Jun 10 15:00:34 UTC 2020
The better question is why would you want to? If you could even manage, the
result would be practically incomprehensible.
On Wed, Jun 10, 2020 at 07:49 Alexander Chen <alexander at chenjia.nl> wrote:
> hi,
>
> --any function foldr
> myAny'' :: (a-> Bool) -> [a] -> Bool
> myAny'' f = foldr (\a b -> f a || b) False
>
> this is the foldr notions. How would i make this point free?
>
> best,
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200610/f82d7e70/attachment.html>
More information about the Beginners
mailing list