<div dir="ltr">Might be that it doesn't do keyword objects, string->keyword?</div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-07 13:10 GMT+02:00 Chris Vine <span dir="ltr"><<a href="mailto:chris@cvine.freeserve.co.uk" target="_blank">chris@cvine.freeserve.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following works fine without the syntax-rules/syntax-case macro<br>
expander enabled:<br>
<br>
  (open-vector-pipe (list direction: 'input)<br>
                    (list direction: 'output))<br>
<br>
However if the syntax-case expander is enabled, compilation generates<br>
a warning that 'direction:' is undefined and runtime fails with:<br>
<br>
  *** ERROR -- (Argument 1) VECTOR or port settings expected<br>
  (open-vector-pipe '(#!unbound input) '(#!unbound output))<br>
<br>
This also works without the syntax-case expander:<br>
<br>
  (open-vector-pipe (list 'direction: 'input)<br>
                    (list 'direction: 'output))<br>
<br>
but fails with the syntax-case expander enabled with a different error:<br>
<br>
  *** ERROR -- (Argument 1) VECTOR or port settings expected<br>
  (open-vector-pipe '(|direction:| input) '(|direction:| output))<br>
<br>
I am using gambit-c 4.7.3.  Is there any workaround for this?<br>
<br>
Chris<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div>