[Haskell-beginners] find by
Julian Arni
julian at edx.org
Wed May 15 18:11:19 CEST 2013
I have a function that, simplifying a little, looks like this:
fn :: [a] -> a
fn = (head .) . takeWhile $ (\_ -> True)
More information about the Beginners
mailing list