bug#22142: A bug with define-syntax

2015-12-15 Thread Mark H Weaver
Tommi Höynälänmaa writes: > I get the following error message: [...] > ERROR: In procedure #: > ERROR: Wrong type to apply: # > make: *** [hello-world.scm] Virhe 1 > --- cut here --- > > The code should compile. This error indicates, roughly speaking, that

Re: `define-syntax'

2002-09-30 Thread Neil Jerram
ML == M Luedde [EMAIL PROTECTED] writes: ML Hello! ML The guile `info' documentation (1.5.7) states that guile is R5RS ML compliant. ML However, I cannot get the macro mechanism `define-syntax' to work ML (guile 1.6.0 on cygwin). ML What's wrong here? Can you post

`define-syntax'

2002-09-28 Thread Dr. M. Luedde
Hello! The guile `info' documentation (1.5.7) states that guile is R5RS compliant. However, I cannot get the macro mechanism `define-syntax' to work (guile 1.6.0 on cygwin). What's wrong here? Regards, Mirko. ___ Bug-guile mailing list [EMAIL

define-syntax and vector constants

2002-02-19 Thread Bill Schottstaedt
I think define-syntax is stumbling on vector constants: (use-modules (ice-9 syncase)) (define-syntax IF (syntax-rules () ((IF form1 form2) (if form1 form2)) ((IF form1 form2 form3) (if form1 form2 form3 (IF (not (vector? #(4.0))) (display oops)) invalid syntax #(4.0

Re: define-syntax and vector constants

2002-02-19 Thread Martin Grabmueller
From: Bill Schottstaedt [EMAIL PROTECTED] Date: Tue, 19 Feb 2002 04:26:13 -0800 I think define-syntax is stumbling on vector constants: (use-modules (ice-9 syncase)) (define-syntax IF (syntax-rules () ((IF form1 form2) (if form1 form2)) ((IF form1 form2 form3) (if form1