From 975831b323afa7ae11a7b960f337faf2a4fd5f10 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 19 Jun 2010 16:32:16 +0200 Subject: Guile: no need to de-mangling autodoc args anymore. --- scheme/guile/geiser/doc.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scheme/guile/geiser/doc.scm b/scheme/guile/geiser/doc.scm index 85bf4d4..e1e27c1 100644 --- a/scheme/guile/geiser/doc.scm +++ b/scheme/guile/geiser/doc.scm @@ -38,14 +38,11 @@ (and args (signature name args)))) (define (signature id args-list) - (define (rem-gensyms args) - (map (lambda (s) (if (gensym? s) '_ - (if (list? s) (rem-gensyms s) s))) args)) (define (arglst args kind) (let ((args (assq-ref args kind))) - (rem-gensyms (cond ((or (not args) (null? args)) '()) - ((list? args) args) - (else (list args)))))) + (cond ((or (not args) (null? args)) '()) + ((list? args) args) + (else (list args))))) (define (mkargs as) `((required ,@(arglst as 'required)) (optional ,@(arglst as 'optional) -- cgit v1.2.3