On Tue, Jun 25, 2013 at 03:17:22AM -0500, Daniel Ajoy wrote:
> I pasted this code:
> 
> (define-macro (ez-debug var)
>     (let ((name (symbol->string var)))
>       `(print ,name ": " ,var)))
> 
> from
> 
> http://wiki.call-cc.org/chicken-for-ruby-programmers#macros
> 
> and got
> 
> Error: unbound variable: define-macro

Yeah, that's a really outdated example.  define-macro is fundamentally
broken and hasn't been supported for over 4 years (since the release of
CHICKEN 4.0).

I've rewritten the example to use syntax-rules, as there is no need
for it to be a low-level macro in the first place.

Cheers,
Peter
-- 
http://www.more-magic.net

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to