On Wednesday 11 July 2007, Chaddaï Fouché wrote:
> There is already many thing in standard library. The balance is important.
> You can write :
> longerThan n = (> n) . length . take (n+1)
> and it isn't so current a need that you want it into a library that
> already has many functions.

Shorter:

longerThan n = not . null . drop n

Jonathan Cast
http://sourceforge.net/projects/fid-core
http://sourceforge.net/projects/fid-emacs
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to