Henning Thielemann wrote: > > tm4 = sum . takeWhile(>0) . tail . iterate (flip div 5) > FWIW: as a result of all this I learned to write this as: tm41 = sum . takeWhile(>0) . tail . iterate (`div` 5) @@i