[racket-users] Re: Some stuff about "case".

2020-06-03 Thread Jack Firth
Isn't that just match with the == pattern? (let ([x 'foo]) (match 'foo [(== x) 'got-foo] ['x 'got-quote-x])) ; => 'got-foo On Monday, June 1, 2020 at 11:54:01 AM UTC-7, cwebber wrote: > > As I started typing this email and looking into the definition of case, > I realized my

[racket-users] Re: Some stuff about "case".

2020-06-01 Thread Christopher Lemmer Webber
Except maybe for one thing: I wonder if the version of case defined here is written in such a way that is smart in that it never has to make said hash table / alist more than once, at compile time. I'm guessing so? Christopher Lemmer Webber writes: > As I started typing this email and looking