scalaz / ioeffect

An effect monad for Scalaz 7.2
Other
55 stars 9 forks source link

MonadIO instances #48

Closed fommil closed 6 years ago

fommil commented 6 years ago

I wonder if perhaps we should remove the extends Monad to be able to create instances for the scalaz mtl

emilypi commented 6 years ago

@edmundnoble were discussing this last night. Personally, I would prefer

def liftIO[E, A](io: IO[E, A])(implicit M: Monad[M]): M[A]

fommil commented 6 years ago

me too!

emilypi commented 6 years ago

@fommil he thinks we're dirty heathens 😦

fommil commented 6 years ago

We are dirty heathens, but we're also right about this :stuck_out_tongue: