1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

📝 reinterpret.

This commit is contained in:
Rob Rix 2018-04-05 10:12:55 -04:00
parent f5009daa82
commit 7b24f196b7

View File

@ -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