mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Simplify the graphing carriers.
This commit is contained in:
parent
3dcdf3f769
commit
dcc30249c4
@ -213,8 +213,8 @@ appendGraph = modify . (<>)
|
|||||||
|
|
||||||
|
|
||||||
graphing :: (Carrier sig m, Effect sig)
|
graphing :: (Carrier sig m, Effect sig)
|
||||||
=> Evaluator term address value (StateC (Map address ControlFlowVertex)
|
=> Evaluator term address value (StateC (Map address ControlFlowVertex) (Eff
|
||||||
(Evaluator term address value (StateC (Graph ControlFlowVertex)
|
(StateC (Graph ControlFlowVertex) (Eff
|
||||||
(Evaluator term address value m)))) result
|
m)))) result
|
||||||
-> Evaluator term address value m (Graph ControlFlowVertex, result)
|
-> Evaluator term address value m (Graph ControlFlowVertex, result)
|
||||||
graphing = runState mempty . runEvaluator . fmap snd . runState lowerBound . runEvaluator
|
graphing = raiseHandler $ runState mempty . fmap snd . runState lowerBound
|
||||||
|
Loading…
Reference in New Issue
Block a user