Jonathan Cast wrote:
On Mon, 2007-09-24 at 17:35 +0100, Andrew Coppin wrote:
In an ideal world, yes.

In this world, use "length (take 11 [1..]) > 10"...

not (null (drop 10 [1..])) is surely faster (not tested...)

Faster? There might be a few microseconds in it.

Clearer? Possibly... ;-)

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to