mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
Define a getter for the module evaluator table.
This commit is contained in:
parent
d624686807
commit
48389d716b
@ -40,6 +40,10 @@ modifyModuleTable :: (Linker value -> Linker value) -> Evaluator effects value (
|
|||||||
modifyModuleTable f = Evaluator (modify f)
|
modifyModuleTable f = Evaluator (modify f)
|
||||||
|
|
||||||
|
|
||||||
|
askModuleEvaluatorTable :: Evaluator effects value (Linker (Evaluator effects value value))
|
||||||
|
askModuleEvaluatorTable = Evaluator ask
|
||||||
|
|
||||||
|
|
||||||
data Evaluator effects value a
|
data Evaluator effects value a
|
||||||
= Evaluator
|
= Evaluator
|
||||||
{ runEvaluator :: Members '[ Fail
|
{ runEvaluator :: Members '[ Fail
|
||||||
|
Loading…
Reference in New Issue
Block a user