Skip to content

genericReplicateM and genericReplicateM_

Add genericReplicateM and genericReplicateM_ to core libraries, probably Control.Monad, generalizing replicateM and replicateM_ to any Integral type, similar to all the other generic* functions.

This was proposed and supported with no objections on the libraries mailing list: https://mail.haskell.org/pipermail/libraries/2015-July/026016.html

Trac metadata
Trac field Value
Version 8.0.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Core Libraries
Test case
Differential revisions
BlockedBy
Related
Blocking
CC ekmett
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information