[Haskell-cafe] Mapping over multiple values of a list at once?

Ariel J. Birnbaum valgarv at gmx.net
Thu Aug 27 05:00:49 EDT 2009

> "tails" seems to be the key. I haven't thought of this before.
> Thanks for pointing me in the right direction, guys.

For a more "interesting" solution:
I believe you can adapt his 'rule' function to your problem.

It's probably overkill, but good learning material =)

Have fun!
Ariel J. Birnbaum

More information about the Haskell-Cafe mailing list