Gabriella439 / pipes

Compositional pipelines
BSD 3-Clause "New" or "Revised" License
487 stars 72 forks source link

Relax Monad constraints to Functor #194

Closed cronokirby closed 6 years ago

cronokirby commented 6 years ago

This relaxes the Monad constraint for many functions using Proxy to Functor, throughout the library. The main places where this isn't possible are anything involving runEffect, or using MonadTrans, since lift requires a Monad constraint. I also haven't touched the Tutorial module, because I'm not sure that it would make explaining things much easier to swap between Functor and Monad constraints.

Gabriella439 commented 6 years ago

Let me fix CI so that it doesn't build GHC 7.8 and older

Gabriella439 commented 6 years ago

Thank you so much! Really great job :)

Gabriella439 commented 6 years ago

I can also cut a new release for Hackage if you don't have any other pending changes