On Mon, 14 May 2007, Malcolm Wallace wrote: > Perhaps I should just rewrite the 'exactly' combinator to have the > behaviour you desire? Its current definition is: > > exactly 0 p = return [] > exactly n p = do x <- p > xs <- exactly (n-1) p > return (x:xs)
Is there a difference between 'exactly' and 'replicateM' ? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe