[Haskell-beginners] find by

Julian Arni julian at edx.org
Wed May 15 19:05:07 CEST 2013


(For some reason my previous post seems to have been truncated.)

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