[Haskell-cafe] Dropping trailing nulls from a list of list
Henning Thielemann
lemming at henning-thielemann.de
Wed Mar 8 17:20:25 EST 2006
On Wed, 8 Mar 2006 Jeff.Harper at handheld.com wrote:
> Today, I reviewed a function I wrote a few months ago. The function,
> dropTrailNulls, takes a list of lists and drops trailing null lists. For
> instance:
>
> *Main> dropTrailNulls [[1],[2,3],[],[]]
> [[1],[2,3]]
http://www.haskell.org/pipermail/libraries/2005-August/004217.html
More information about the Haskell-Cafe
mailing list