[gambit-list] Ill formed expression

Evan Hanson evhan at thunktastic.com
Mon Oct 31 13:07:18 EDT 2011


Are you loading the syntax-rules library before you run this?

Try again with `gsi -:s`.

More information:
http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php?title=Documentation:Special_form_define-syntax

On 10/31/11 at 05:23pm, 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