int-index / ether

Monad Transformers and Classes
https://int-index.github.io/ether/
BSD 3-Clause "New" or "Revised" License
78 stars 7 forks source link

Strict Writer and State by default #31

Closed int-index closed 7 years ago

int-index commented 7 years ago

To avoid accidental space leaks, we should export strict State and CPS-d Writer (https://hackage.haskell.org/package/writer-cps-mtl) by default.

Algorithms that rely on laziness should do it explicitly, using LazyStateT and LazyWriterT.

int-index commented 7 years ago

done in #32