Right. How about: f = map ((`div` 3) . sum . take 3) . tails
You probably want to do filter out some of the tails. Not sure where transpose comes into play, but tails is your friend here.
Martijn. Miguel Mitrofanov wrote:
transpose & tails, I guess.
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
