summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/main.rkt
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 01:56:02 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 01:56:02 +0100
commit1d725a8c087b66b2cd2c0e5006c376faf612d6ff (patch)
treee660e30075c5b03b64da49988683af048eb4f6b0 /scheme/racket/geiser/main.rkt
parent481f0ea2e5577ad5bb1a718b8023af92202e7423 (diff)
downloadgeiser-guile-1d725a8c087b66b2cd2c0e5006c376faf612d6ff.tar.gz
geiser-guile-1d725a8c087b66b2cd2c0e5006c376faf612d6ff.tar.bz2
Better module help
We now display procedure signatures in module help, and keep a cache in Guile, using procedure properties.
Diffstat (limited to 'scheme/racket/geiser/main.rkt')
-rw-r--r--scheme/racket/geiser/main.rkt16
1 files changed, 12 insertions, 4 deletions
diff --git a/scheme/racket/geiser/main.rkt b/scheme/racket/geiser/main.rkt
index 4915b68..0c7de4e 100644
--- a/scheme/racket/geiser/main.rkt
+++ b/scheme/racket/geiser/main.rkt
@@ -32,10 +32,18 @@
geiser/autodoc)
(define (geiser:eval lang)
- (lambda (form spec) (eval-in form spec lang)))
-(define geiser:compile compile-in)
-(define geiser:load-file load-file)
-(define geiser:compile-file compile-file)
+ (lambda (form spec)
+ (update-signature-cache spec form)
+ (eval-in form spec lang)))
+
+(define geiser:compile geiser:eval)
+
+(define (geiser:load-file file)
+ (update-signature-cache file)
+ (load-file file))
+
+(define geiser:compile-file geiser:load-file)
+
(define geiser:autodoc autodoc)
(define geiser:help get-help)
(define geiser:completions symbol-completions)