summaryrefslogtreecommitdiff
path: root/geiser
diff options
context:
space:
mode:
Diffstat (limited to 'geiser')
-rw-r--r--geiser/evaluation.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 6090210..96d194b 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -19,6 +19,7 @@
#:use-module (system base compile)
#:use-module (system base pmatch)
#:use-module (system vm program)
+ #:use-module (language tree-il)
#:use-module (ice-9 pretty-print))
(define (handle-error stack . args)
@@ -64,6 +65,6 @@
(let ((all (and (not (null? all)) (car all))))
(with-output-to-string
(lambda ()
- (pretty-print ((if all macroexpand macroexpand-1) form))))))
+ (pretty-print (tree-il->scheme (macroexpand form)))))))
;;; evaluation.scm ends here