[Haskell-cafe] Replication class

Andrew Morris lists at andy-morris.xyz
Thu Sep 17 23:49:33 UTC 2015

mono-traversable has Data.Sequences.IsSequence, but it “should be considered highly experimental”.


> On 17 Sep 2015, at 19:21, David Feuer <david.feuer at gmail.com> wrote:
> A number of types support some version of replication. Lists and vectors offer replicateM, while sequences have replicateA (the same thing, but generalized to Applicative). Is there, or should there be, a class for structures that support this operation?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list