[gambit-list] Ill formed expression

Marc Feeley feeley at iro.umontreal.ca
Mon Oct 31 13:10:47 EDT 2011


To access the "define-syntax" form, you need to start gsi with the option -:s like this

   gsi -:s

or, once gsi is loaded, evaluate:

   (load "~~lib/syntax-case")

Marc

On 2011-10-31, at 12:23 PM, Vok Vojwo wrote:

> I get the error Ill-formed expression for this syntax definition:
> 
> (define-syntax ?
>  (syntax-rules ()
>    ((? arg)
>     (let ((val arg))
>       (display "+++ ")
>       (write 'arg)
>       (display ": ")
>       (write val)
>       (newline)
>       val))))
> 
> Can anybody tell me what is wrong? Guile accepts the definition.
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list