diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-05-11 02:25:43 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-05-11 02:25:43 +0200 |
commit | 273866952c4037d9585dd97c42c822bc6c40187e (patch) | |
tree | 577f1c4f3421947b50cd505ff73140c820c80e91 /scheme | |
parent | 4525bffdc526709eb94d42051353d1cf6d383b82 (diff) | |
download | geiser-guile-273866952c4037d9585dd97c42c822bc6c40187e.tar.gz geiser-guile-273866952c4037d9585dd97c42c822bc6c40187e.tar.bz2 |
PLT: Support in autodoc for curried definitions.
Diffstat (limited to 'scheme')
-rw-r--r-- | scheme/plt/geiser/autodoc.ss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scheme/plt/geiser/autodoc.ss b/scheme/plt/geiser/autodoc.ss index a78f5f1..f7a0c55 100644 --- a/scheme/plt/geiser/autodoc.ss +++ b/scheme/plt/geiser/autodoc.ss @@ -91,10 +91,12 @@ (match datum ((list 'module name lang forms ...) (for-each (lambda (f) (parse-datum! f store)) forms)) - ((list 'define (list name formals ...) body ...) + ((list 'define (list (list name formals ...) other ...) body ...) (add-signature! name formals store)) ((list 'define name (list 'lambda formals body ...)) (add-signature! name formals store)) + ((list 'define (list name formals ...) body ...) + (add-signature! name formals store)) ((list 'define-for-syntax (list name formals ...) body ...) (add-signature! name formals store)) ((list 'define-for-syntax name (list 'lambda formals body ...)) |