Add fromProducer convenience function
Generalize the type using the monad-primitive package
Merge pull request #2 from Saulzar/master

Generalize the type using the monad-primitive package