mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
Define a Functor instance for Evaluator.
This commit is contained in:
parent
d9ddce8b5e
commit
054b4d5bc2
@ -16,3 +16,7 @@ data Evaluator effects value a
|
||||
] effects
|
||||
=> Eff effects a
|
||||
}
|
||||
|
||||
|
||||
instance Functor (Evaluator effects value) where
|
||||
fmap f (Evaluator run) = Evaluator (fmap f run)
|
||||
|
Loading…
Reference in New Issue
Block a user