mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Simplify the derived MonadEvaluator instance for Evaluation.
This commit is contained in:
parent
e1b1ceb11c
commit
106819c39e
@ -97,8 +97,7 @@ evaluates pairs (_, t) = run @(Evaluating term v) (runEvaluator (runEvaluation (
|
||||
newtype Evaluation term value a = Evaluation { runEvaluation :: Evaluator (Evaluating term value) term value a }
|
||||
deriving (Applicative, Functor, Monad, MonadFail)
|
||||
|
||||
deriving instance MonadEvaluator term value (Evaluator (Evaluating term value) term value)
|
||||
=> MonadEvaluator term value (Evaluation term value)
|
||||
deriving instance MonadEvaluator term value (Evaluation term value)
|
||||
|
||||
instance ( AbstractValue v
|
||||
, Evaluatable (Base t)
|
||||
|
Loading…
Reference in New Issue
Block a user