On Feb 3, 2013 6:56 PM, "Aleix Conchillo FlaquƩ" <aconchillo@gmail.com>
wrote:
> So I have something like,
>
>       ((_ (struct (k v) ...))
>        (string? (syntax->datum #'k))
>        exp)
>
> And I want k to be a string. However, I am getting this error:
>
> missing ellipsis in form (syntax k)

The error is correct; k lives in single-ellipsis world.  What should k mean
to syntax->datum?  The first k?  The last k?

Try changing #'k to #'(k ...), and adjusting the guard to deal with list of
k, such as you will get, instead of just k.

--
Stephen Compall
If anyone in the MSA is online, you should watch this flythrough.