From 273866952c4037d9585dd97c42c822bc6c40187e Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 11 May 2009 02:25:43 +0200 Subject: PLT: Support in autodoc for curried definitions. --- scheme/plt/geiser/autodoc.ss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ...)) -- cgit v1.2.3