mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
MonadEvaluator is a subclass of Monad.
This commit is contained in:
parent
58b7c88b33
commit
590374884b
@ -12,7 +12,7 @@ import Data.Abstract.Linker
|
||||
import Data.Abstract.Value
|
||||
import Prelude hiding (fail)
|
||||
|
||||
class MonadEvaluator term value m | m -> term, m -> value where
|
||||
class Monad m => MonadEvaluator term value m | m -> term, m -> value where
|
||||
getGlobalEnv :: m (EnvironmentFor value)
|
||||
modifyGlobalEnv :: (EnvironmentFor value -> EnvironmentFor value) -> m ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user