To understand "do" you need to understand the underlying >>= and return operators for your monad.
If you can use >>= and return to do it then "do" is indeed a mechanical transformation.
It is like await if you understand JS promises.
If you can use >>= and return to do it then "do" is indeed a mechanical transformation.
It is like await if you understand JS promises.
No comments yet.