mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
📝 reinterpret.
This commit is contained in:
parent
f5009daa82
commit
7b24f196b7
@ -52,6 +52,7 @@ ignoreTelemetry = interpret (\ t -> case t of
|
||||
WriteLog{} -> pure ())
|
||||
|
||||
|
||||
-- | Interpret an effect by replacing it with another effect.
|
||||
reinterpret :: (forall x. effect x -> Eff (newEffect ': effs) x)
|
||||
-> Eff (effect ': effs) a
|
||||
-> Eff (newEffect ': effs) a
|
||||
|
Loading…
Reference in New Issue
Block a user