On Jan 10, 2008 8:44 PM, Filipe Cabecinhas <filcab at gmail.com> wrote:
>> I wanted to begin hacking DrScheme/MzScheme and wanted to know if it's
> possible to know the name and parameters of every defined function
> (and special form/macro) in the environment so I could make Dr. Scheme
> do something like slime in emacs:
>> When you write "(nth ", emacs shows "(nth N LIST)" in the mini-buffer.
If you want to stick with Emacs and mzscheme, you can use
scheme-complete (compatible with any scheme mode):
http://synthcode.com/emacs/scheme-complete.el.gz
It has both intelligent tab completion and eldoc support (showing
a brief docstring in the minibuffer). In fact, it's much smarter than
slime because it recognizes the current lexical environment.
Given the following:
(letrec ((foo (lambda (a b) x)))
(foo
it will show "(foo a b)" in the minibuffer.
--
Alex