Skip to content

Simpler Name Equality#133

Open
johnckolesar wants to merge 7 commits into
old-masterfrom
name-equality
Open

Simpler Name Equality#133
johnckolesar wants to merge 7 commits into
old-masterfrom
name-equality

Conversation

@johnckolesar
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread rewritev/Main.hs
(exposedModules $ condTreeData cn) ++ modules ++ others ++
(otherModules $ libBuildInfo $ condTreeData cn))
proj' = map (proj </>) paths

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it could be useful for applications other than RewriteV/Nebula- maybe we should move it to G2.Translation.Cabal.Cabal?

Comment thread src/G2/Language/Naming.hs Outdated
-- | Allows the creation of fresh `Name`s.
data NameGen = NameGen { max_uniq :: (HM.HashMap (T.Text, Maybe T.Text) Int)
, dc_children :: (HM.HashMap Name [Name]) }
data NameGen = NameGen { max_uniq :: Int }
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be a newtype instead of a data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants