summaryrefslogtreecommitdiff
path: root/geiser/evaluation.scm
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-07 01:25:14 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-07 01:25:14 +0200
commit6212ff6e6928d2844ff3b8ff5a40f4e714685262 (patch)
tree12ab92296db48b623f72a43b16b9ae9ae51b8bbd /geiser/evaluation.scm
parent90835ae8e3ad9763e1a8d1135e337c0855ec3daf (diff)
downloadgeiser-guile-6212ff6e6928d2844ff3b8ff5a40f4e714685262.tar.gz
geiser-guile-6212ff6e6928d2844ff3b8ff5a40f4e714685262.tar.bz2
Guile: real fix for symbol locations (needs Guile's git head).
Diffstat (limited to 'geiser/evaluation.scm')
-rw-r--r--geiser/evaluation.scm8
1 files changed, 1 insertions, 7 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 179e425..a0007c4 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -15,6 +15,7 @@
ge:macroexpand
ge:compile-file
ge:load-file)
+ #:use-module (geiser modules)
#:use-module (srfi srfi-1)
#:use-module (language tree-il)
#:use-module (system base compile)
@@ -33,13 +34,6 @@
(else (display (format "ERROR: ~a, args: ~a" (car args) (cdr args)))))
`(error (key . ,(car args))))
-(define (find-module module-name)
- (and (list? module-name)
- (or (nested-ref the-root-module (append '(%app modules) module-name))
- (let ((m (resolve-module module-name)))
- (beautify-user-module! m)
- m))))
-
(define (write-result result output)
(write (list (cons 'result result) (cons 'output output)))
(newline))