Skip to content

Commit

Permalink
TODO on ModuleProvides/ModuleRequires newtype.
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Feb 19, 2017
1 parent be1e1c6 commit 42e0d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cabal/Distribution/Backpack/ModuleScope.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ data ModuleScope = ModuleScope {
type ModuleProvides = Map ModuleName [ModuleSource]
-- | INVARIANT: entries for ModuleName m, have msrc_module is OpenModuleVar m
type ModuleRequires = Map ModuleName [ModuleSource]
-- TODO: consider newtping the two types above.

data ModuleSource =
ModuleSource {
-- We don't have line numbers, but if we did the
Expand Down

0 comments on commit 42e0d4f

Please sign in to comment.