Thanks Christian!
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
* Hugo Arregui [130304 15:44]:
> But I'm trying to understand whats happening in the first example.
>
> My questions are:
> - I'm guessing the proc isn't available in expansion time. I'm right?
> - How can make this work?
Use define-for-syntax instead of define
HTH,
Christian
--
In the w
Hi guys,
I'm pretty new to macros, so I want to ask a couple of questions to
sort the things in my brain :-).
1) I think this is an issue regarding expansion time / runtime:
(define (aproc a)
(* 2 a))
(define-syntax amacro
(er-macro-transformer
(lambda (x r c)
(aproc 1
(print