Rearrange export-lists definitions
This commit is contained in:
parent
06aebed001
commit
e5f3b21059
|
@ -19,14 +19,14 @@
|
|||
(map first
|
||||
(apply append (map (curryr drop 1) exports))))
|
||||
|
||||
(define (has-docs? mod binding)
|
||||
(not (not (xref-binding->definition-tag xref (list mod binding) #f))))
|
||||
|
||||
(define (module->all-exported-names mod)
|
||||
(let-values ([(exp-values exp-syntax) (module->exports mod)])
|
||||
(append (phase-exports->names exp-values)
|
||||
(phase-exports->names exp-syntax))))
|
||||
|
||||
(define (has-docs? mod binding)
|
||||
(not (not (xref-binding->definition-tag xref (list mod binding) #f))))
|
||||
|
||||
(define (module->documented-exported-names mod)
|
||||
(filter (curry has-docs? mod)
|
||||
(module->all-exported-names mod)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user