3 ms·
Alright. One distinction though is that vanilla IO monad has no logical constraint on consumption. You could technically thread a resource through a function ma
by agumonkey 10y ago
Alright. One distinction though is that vanilla IO monad has no logical constraint on consumption. You could technically thread a resource through a function many times and Haskell wouldn't complain. (This is blurry but I had something clear in mind, someone at a Haskeel meetup showed how to enforce constraints on monads through some kind of Phantom Type trick)