1
0
forked from GitHub/gf-core

Merge pull request #79 from anka-213/fix-infinite-loop

Fix infinite recursion on error
This commit is contained in:
Inari Listenmaa
2020-10-27 11:23:49 +01:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ instance Monad SIO where
SIO m1 >>= xm2 = SIO $ \ h -> m1 h >>= \ x -> unS (xm2 x) h
instance Fail.MonadFail SIO where
fail = liftSIO . fail
fail = lift0 . fail
instance Output SIO where
ePutStr = lift0 . ePutStr