1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Derive a MonadFail instance for EnvC.

This commit is contained in:
Rob Rix 2019-11-01 14:52:17 -04:00
parent 3aa3cb5005
commit 4f44170281
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -230,7 +230,7 @@ data EdgeType term name
newtype EnvC name m a = EnvC { runEnv :: m a }
deriving (Applicative, Functor, Monad)
deriving (Applicative, Functor, Monad, MonadFail)
instance ( Carrier sig m
, Member Fresh sig