mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Define >< as a convenient synonym for connect.
This commit is contained in:
parent
dad4cf5490
commit
7bd0c0f437
@ -41,6 +41,11 @@ instance ( Member (State ImportGraph) effects
|
||||
|
||||
evaluateModule m@Module{..} = ImportGraphing (evaluateModule m)
|
||||
|
||||
(><) :: Graph a => a -> a -> a
|
||||
(><) = connect
|
||||
|
||||
infixr 7 ><
|
||||
|
||||
modifyImportGraph :: (Effectful (m term value), Member (State ImportGraph) effects) => (ImportGraph -> ImportGraph) -> ImportGraphing m term value effects ()
|
||||
modifyImportGraph = raise . modify
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user