Re: empty syntax objects

2009-10-20 Thread Andy Wingo
Hi Daniel, On Tue 20 Oct 2009 04:44, Julian Graham writes: > (syntax-case x () > ((foo . rest) >(datum->syntax #'rest 'foo))) > > ...you get an error if `foo' is expanded without anything to bind to > `rest': I downloaded Petite Chez Scheme today and tried this out. I also got an error. I

empty syntax objects

2009-10-19 Thread Julian Graham
Hi all, This is a weird one. It looks like there's a problem with performing certain operations on syntax objects that "wrap" the empty list -- I think because such syntax objects are themselves indistinguishable from the empty list. I'm still not sure I fully understand what's going on, but suf