Ok I added cond-expanders to my-cond. On Nov 1, 2014, at 4:40 PM, Andrew Kent <andmk...@indiana.edu> wrote:
> Ah, that makes sense. Thank you. > > I guess I'll have to peruse Alexander's my-cond if I want to explore the idea > further. > > Best, > Andrew > > On Sat, Nov 1, 2014 at 4:36 PM, Matthias Felleisen <matth...@ccs.neu.edu> > wrote: > > On Nov 1, 2014, at 4:15 PM, Andrew Kent wrote: > >> (cond >> [$: p (Point x y) => (+ x y)]) > > You cannot expand a cond-line via syntax because it isn't an expression or a > definition position. > Similarly, you cannot expand the parameter list position in a function. > > -- Matthias > > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users
____________________ Racket Users list: http://lists.racket-lang.org/users