Age | Commit message (Collapse) | Author |
|
program-arities is expected (in its only usage a few lines below its
definition) to return #f if program-address-range doesn't return anything
useful, and i was incorrectly using when instead of and for that.
|
|
program-arities now returns an empty list if no arities information is found.
This fixes the bug that happens when calling, say, `(autodoc '(display))`,
which leads to following error:
```
scheme@(guile-user)> (autodoc '(display))
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure map: Wrong type argument: #<unspecified>
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,q
```
|
|
|
|
|
|
Fixes emacs-geiser/guile#9
In geiser-eval REPL meta-command:
All `mod`, `form` and `args` are now syntax objects. The
geiser-guile's logic will handle `mod` and `form` as is because
they're just passed to guile's eval and compile procedures.
`args` are processed by geiser-eval meta-command itself, so
it's necessary to convert it back to a datum. We lose some metadata,
but all elements in the `args` list are also syntax objects so I don't
think it's a big deal.
`syntax->datum` was introduced before guile 2 so this change is
backward compatible.
|
|
|