Sebastian Tennant <[email protected]> writes:

> Incidentally, perhaps you can tell me why the first argument to this
> compile-friendly macro has to be a string for it to work.
>
>  guile> (define-macro (definer var val)
>           `(define ,var ,val))
>  guile> (definer 'foo "bar")
>
> appears to have worked, but...
>
>  guile> foo
>  ERROR: Unbound variable: foo
>  ABORT: (unbound-variable)

Try this:

  (definer foo "bar")

Thanks,
Ludo'.



Reply via email to