Re: [racket] Question about path/param-path function

2014-02-16 Thread David T. Pierson
On Sun, Feb 16, 2014 at 08:19:48PM -0600, David Novogrodsky wrote: > All, > > First here is the code I entered in the interaction window. The question I > have are about these lines: > > (require xml net/url) > > (define u (string->url "http://localhost:8080/foo/testing";)) > > (url-path u) > '(

Re: [racket] Question about path/param-path function

2014-02-16 Thread Matthias Felleisen
On Feb 16, 2014, at 9:19 PM, David Novogrodsky wrote: > All, > > First here is the code I entered in the interaction window. The question I > have are about these lines: >> (require xml net/url) >> (define u (string->url "http://localhost:8080/foo/testing";)) >> (url-path u) > '(# #) >> (map

[racket] Question about path/param-path function

2014-02-16 Thread David Novogrodsky
All, First here is the code I entered in the interaction window. The question I have are about these lines: > (require xml net/url) > (define u (string->url "http://localhost:8080/foo/testing";)) > (url-path u) '(# #) > (map path/param-path (url-path u)) '("foo" "testing”) I took an online cour