mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Derive a LiftEffect instance for the tracing analysis.
This commit is contained in:
parent
b05d9ac5d3
commit
0d296bd6b1
@ -42,7 +42,7 @@ evaluateTrace = run @(TracingEffects trace term value) . runEvaluator . runTraci
|
||||
|
||||
newtype TracingAnalysis (trace :: * -> *) term value effects a
|
||||
= TracingAnalysis { runTracingAnalysis :: Evaluator term value effects a }
|
||||
deriving (Applicative, Functor, Monad)
|
||||
deriving (Applicative, Functor, LiftEffect, Monad)
|
||||
|
||||
deriving instance Member Fail effects => MonadFail (TracingAnalysis trace term value effects)
|
||||
deriving instance Members (EvaluatorEffects term value) effects => MonadEvaluator term value (TracingAnalysis trace term value effects)
|
||||
|
Loading…
Reference in New Issue
Block a user