Arrow: MonadDeferLaws

Created on 20 Jan 2018  路  4Comments  路  Source: arrow-kt/arrow

Most helpful comment

I'll take this one 馃槃

All 4 comments

I'll take this one 馃槃

So if I understand this correctly the current MonadDeferLaws only include laws for binding over monad defer and should be extended by those present in cats-effect. The cats-effect typeclass seems to have different functions on top of what MonadDefer in arrow has (or maybe I just can't map the names correctly).
I'll try and get as many ported as possible and then see how it works :)

You're correct, the ones in the current laws are ad-hoc for monadic comprehensions. We also need the ones from cats which are the original test suite for the typeclass :D

Closed by #1150

Was this page helpful?
0 / 5 - 0 ratings