bow-swift / bow

🏹 Bow is a cross-platform library for Typed Functional Programming in Swift
https://bow-swift.io
Other
645 stars 32 forks source link

Monad trans #645

Closed ferranpujolcamins closed 3 years ago

ferranpujolcamins commented 3 years ago

Goal

Be able to test Monad and Comonad transformers implementation.

Implementation details

I added MonadTrans typeclass with its laws. I added ComonadTrans typeclass with its laws. Instances for each transformer are also included.