Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Sep 14, 2022
1 parent 54857a2 commit d71ecf5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Juvix/Compiler/Abstract/Extra/DependencyBuilder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ goPattern n p = case p ^. patternArgPattern of
PatternEmpty -> return ()
PatternConstructorApp a -> goApp a
where
goApp :: ConstructorApp -> Sem r ()
goApp (ConstructorApp ctr ps) = do
addEdge n (ctr ^. constructorRefName)
mapM_ (goPattern n) ps
goApp :: ConstructorApp -> Sem r ()
goApp (ConstructorApp ctr ps) = do
addEdge n (ctr ^. constructorRefName)
mapM_ (goPattern n) ps

goExpression :: forall r. Member (State DependencyGraph) r => Name -> Expression -> Sem r ()
goExpression p e = case e of
Expand Down

0 comments on commit d71ecf5

Please sign in to comment.