On 10/08/18 23:08, David Ireland wrote:
Can you show us the code you wrote?
I'm thinking the problem has something to do with low-level-macros.
I was really just looking for 'define-syntax-rule'. I managed to write
my own version:
(define-syntax define-syntax-rule
(syntax-rules ()
[(define-syntax-rule (id arg ...) body)
(define-syntax id
(syntax-rules ()
[(id arg ...) body]))]))
which, to my surprise, actually works. Bear in mind that I'm a n00b to
Scheme.
So, by jettisoning the module low-level-macros and writing my own
define-syntax-rule, my program manages to compile and run as expected.
So, problem solved. Hmmm. It's a pity chicken wan't a tad more helpful
with its error messages.
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users