Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jan 24, 2023
1 parent ba86c44 commit 493250f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Juvix/Compiler/Internal/Data/InfoTable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ buildTable :: (Foldable f) => f Module -> InfoTable
buildTable = mconcatMap buildTable1

buildTableRepl :: (Foldable f) => Expression -> f Module -> InfoTable
buildTableRepl e = extendWithReplExpression e . mconcatMap buildTable1
buildTableRepl e = extendWithReplExpression e . builtTable

buildTable1 :: Module -> InfoTable
buildTable1 = run . evalState (mempty :: Cache) . buildTable1'
Expand Down

0 comments on commit 493250f

Please sign in to comment.