byteverse / contiguous

Typeclass for array types
Other
19 stars 9 forks source link

Generalize to MonadPrim #1

Closed cocreature closed 6 years ago

cocreature commented 6 years ago

Currently all operations operate in ST. While it’s possible to lift that to MonadPrim using stToPrim that puts the burden on the user and clutters their codebase. Have you considered generalizing the operations to MonadPrim? I’d be happy to provide a pull request if that is all it takes.

chessai commented 6 years ago

I was thinking about doing the same myself the other day. I think this is fine. If you're available to make a PR for this that would be most helpful.

andrewthad commented 6 years ago

I'd take a PR for this.