1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00

🔥 the instance of Newtype1.

This commit is contained in:
Rob Rix 2018-03-07 21:03:15 -05:00
parent 7fb874e5eb
commit ad195fa0cc

View File

@ -21,7 +21,7 @@ type TracingEffects trace term value = Tracer trace term value ': EvaluatorEffec
-- Instantiating @trace@ to @[]@ yields a linear trace analysis, while @Set@ yields a reachable state analysis.
newtype TracingAnalysis (trace :: * -> *) m a
= TracingAnalysis { runTracingAnalysis :: m a }
deriving (Applicative, Functor, Generic1, LiftEffect, Monad, MonadEvaluator, MonadFail, Newtype1)
deriving (Applicative, Functor, Generic1, LiftEffect, Monad, MonadEvaluator, MonadFail)
instance ( Corecursive (TermFor m)
, LiftEffect m