[racket] keyword-apply questions

2014-09-22 Thread Kevin Forchione
On Sep 22, 2014, at 9:05 AM, Kevin Forchione wrote: > Hi guys, > Apparently, with a desire to use keywords more in functions, I’ll have to > wrap my head around keyword-apply better. Two questions I have are: > > 1. Why must the kw-lst be sorted in keyword arguments appear in any order that

[racket] keyword-apply questions

2014-09-22 Thread Kevin Forchione
Hi guys, Apparently, with a desire to use keywords more in functions, I’ll have to wrap my head around keyword-apply better. Two questions I have are: 1. Why must the kw-lst be sorted in keyword kw-arg …) After playing around a bit all of the following are equivalent: (define (bar #:x x #:y y