Last time I checked I could not compile this one. And now it is not IO<Unit>. WHat am I missing ?
Imran/Malic
02/26/2019, 5:28 PM
According to the Docs to Id Monad/Comonad this seems valid, but how can I prevent the execution because calling greet still prints the values. I already tried !effect
p
pakoito
02/26/2019, 5:44 PM
side-effects have to be suspend functions
pakoito
02/26/2019, 5:44 PM
yours are not 😄
pakoito
02/26/2019, 5:45 PM
it is Id<Unit> because that the fx version you’ve imported