diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-08-20 03:31:54 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-08-20 16:29:46 +0200 |
commit | 1627471032647e6a13149242ad9547b5124c1c4f (patch) | |
tree | 56cf76f34112cf81cfd1710853de3f116685a6b7 /scheme/racket/geiser/utils.rkt | |
parent | 0ef26298d48bd0ae605096a187be35ef4759a722 (diff) | |
download | geiser-guile-1627471032647e6a13149242ad9547b5124c1c4f.tar.gz geiser-guile-1627471032647e6a13149242ad9547b5124c1c4f.tar.bz2 |
Racket: eval geiser-eval's apply arguments properly
As Stanisław Halik reported, autodoc was receiving a mlist (instead of
a list) as its argument when invoked in an R5RS context. Turns out we
were evaluating geiser-eval's arguments in the wrong context (the
procedure being applied and the arglist belong to the same namespace).
Diffstat (limited to 'scheme/racket/geiser/utils.rkt')
-rw-r--r-- | scheme/racket/geiser/utils.rkt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scheme/racket/geiser/utils.rkt b/scheme/racket/geiser/utils.rkt index 4bf9494..80d5150 100644 --- a/scheme/racket/geiser/utils.rkt +++ b/scheme/racket/geiser/utils.rkt @@ -15,6 +15,8 @@ keyword->symbol symbol->keyword) +(require racket/mpair) + (define (pair->list pair) (let loop ([d pair] [s '()]) (cond [(null? d) (reverse s)] @@ -23,5 +25,3 @@ (define keyword->symbol (compose string->symbol keyword->string)) (define (symbol->keyword sym) (string->keyword (format "~a" sym))) - -;;; utils.rkt ends here |