Even shorter:
c=mapM(\k->[0..k])
- Lyle
Fritz Ruehr wrote:
Well, as far as that goes, we can shave off a little bit (around 7%) this way:
combs = mapM (\k->[0..k])
(As a bonus, it's even a bit more cryptic/symbolic, in the fine tradition of APL one-liner character-shavings.)
But who's counting? :) :) :)
-- Fritz Ruehr
_______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe