mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
Define a getter for the module table.
This commit is contained in:
parent
df4b54ed11
commit
3f1db36e64
@ -33,6 +33,10 @@ modifyStore :: (StoreFor value -> StoreFor value) -> Evaluator effects value ()
|
|||||||
modifyStore f = Evaluator (modify f)
|
modifyStore f = Evaluator (modify f)
|
||||||
|
|
||||||
|
|
||||||
|
getModuleTable :: Evaluator effects value (Linker value)
|
||||||
|
getModuleTable = Evaluator get
|
||||||
|
|
||||||
|
|
||||||
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