racket-langserver
racket-langserver copied to clipboard
Action to replace `(all-defined-out)` provide with explicit list of items
trafficstars
This would replace an (all-defined-out) clause with all of the identifiers that would be exported.
To get information, this is quite easy:
- using
get-definitionsindoc-trace.rkt - get keys as defined identifiers of the current module
- replace
all-defined-outwith the list
Some problems I can think out immediately are
- What if
all-defined-outand some exported duplicated? e.g.provide foo (all-defined-out) - export which phase? The layer is important in racket