michaelt / streaming

An optimized general monad transformer for streaming applications, with a simple prelude of functions
BSD 3-Clause "New" or "Revised" License
104 stars 11 forks source link

join + fmap = bind #36

Closed treeowl closed 7 years ago

treeowl commented 7 years ago

It's simpler, and very often faster, to use m >>= f instead of join (fmap f m).

andrewthad commented 7 years ago

This PR will be merged into the new official repo with https://github.com/haskell-streaming/streaming/pull/12