[Haskell-cafe] Sub-optimal [code]

Andrew Coppin andrewcoppin at btinternet.com
Wed Feb 16 22:51:01 CET 2011


On 16/02/2011 06:31 PM, James Andrew Cook wrote:

> Doesn't Control.Monad.replicateM_ do exactly that?

10 points to Gryffindore.

(Now, if only there was a version that feeds an integer to the monadic 
action as well... Still, it's not hard to implement.)



More information about the Haskell-Cafe mailing list