www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e5f3b21059e48f74f0365dc2951e7d61b3a660a4
parent 06aebed001dcabd32fc0ab548bfd1cc3db3ab1b9
Author: JackFirth <jackhfirth@gmail.com>
Date:   Sat, 21 Feb 2015 00:09:11 -0800

Rearrange export-lists definitions

Diffstat:
Mdoc-coverage/export-lists.rkt | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc-coverage/export-lists.rkt b/doc-coverage/export-lists.rkt @@ -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)))