Visitar URL original
Erase exports by dancewithheart · Pull Request #19 · wasabi315/aegle · GitHub
Skip to content

Erase exports - #19

Merged
wasabi315 merged 9 commits into
wasabi315:mainfrom
dancewithheart:erase-exports
Oct 24, 2026
Merged

wasabi315 merged 9 commits into
wasabi315:mainfrom
dancewithheart:erase-exports

Conversation

@dancewithheart

Copy link
Copy Markdown
Contributor

Partially address #12

Add predicate:

isIndexableDefinition :: Definition -> Transl Bool
isIndexableDefinition def = case def.theDef of
  DataOrRecSigDefn {} -> pure False
  GeneralizableVar {} -> pure False
  PrimitiveSortDefn {} -> pure False
  _ -> not <$> isErasable def.defType

and use it in translateScope and translateDefinition

Tested with:

stack test aegle-index

@wasabi315

Copy link
Copy Markdown
Owner

Thank you very much for your PR! I have several things I would like you to address. Could you check my review comments?

Comment thread aegle-index/test/Main.hs Resolved
Comment thread aegle-index/test/Main.hs Resolved
Comment thread aegle-index/test/Main.hs Resolved
Comment thread aegle-index/test/Main.hs Resolved
dancewithheart and others added 6 commits October 21, 2026 16:13
Co-authored-by: Satoshi Takimoto <wasabi.nvim.st@gmail.com>
Co-authored-by: Satoshi Takimoto <wasabi.nvim.st@gmail.com>
Co-authored-by: Satoshi Takimoto <wasabi.nvim.st@gmail.com>
Co-authored-by: Satoshi Takimoto <wasabi.nvim.st@gmail.com>
@dancewithheart

Copy link
Copy Markdown
Contributor Author

Thank you for your time and careful review 🙇 I applied your remarks. Can you re-review?

@wasabi315 wasabi315 left a comment

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.

LGTM!

@wasabi315

Copy link
Copy Markdown
Owner

Thank you for your contribution!

@wasabi315
wasabi315 merged commit 037e78c into wasabi315:main Oct 24, 2026
@dancewithheart

Copy link
Copy Markdown
Contributor Author

It was fun!

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