[Haskell-cafe] Generalizing takeWhile

Matthias Görgens matthias.goergens at googlemail.com
Thu Jul 23 01:28:55 EDT 2009

> What is the use case(s) for this function?

I often want to take one more element than takeWhile does, or only
start checking the predicate after taking the first element for sure.
Or both.

More information about the Haskell-Cafe mailing list