I am learning Haskell, and I'm wondering how is a prediction that is a bit more complex.
For example, I can do this:
Any (& gt; = 5) my_list but I There is no way
any (x` mod`2 == 0) my_list How can I do this?
any (\ x -> x` mod` 2 = div>
No comments:
Post a Comment