summaryrefslogtreecommitdiff
path: root/scheme/plt/geiser/autodoc.ss
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-11 02:25:43 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-11 02:25:43 +0200
commit273866952c4037d9585dd97c42c822bc6c40187e (patch)
tree577f1c4f3421947b50cd505ff73140c820c80e91 /scheme/plt/geiser/autodoc.ss
parent4525bffdc526709eb94d42051353d1cf6d383b82 (diff)
downloadgeiser-guile-273866952c4037d9585dd97c42c822bc6c40187e.tar.gz
geiser-guile-273866952c4037d9585dd97c42c822bc6c40187e.tar.bz2
PLT: Support in autodoc for curried definitions.
Diffstat (limited to 'scheme/plt/geiser/autodoc.ss')
-rw-r--r--scheme/plt/geiser/autodoc.ss4
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 ...))