Re: [racket-users] Name of undefined identifier as string in macro

2019-08-04 Thread Zelphir Kaltstahl
Thank you! I am not 100% sure I understood all about the different phases, but I seem to have semi-understood and am able to use my understanding combined with a little trial and error. I've now got it working as follows: #+BEGIN_SRC racket #lang racket (require (for-syntax racket/string))

Re: [racket-users] Name of undefined identifier as string in macro

2019-08-03 Thread Ryan Culpepper
On 8/3/19 10:48 AM, Zelphir Kaltstahl wrote: Hi! I am trying to write a macro, which checks the name of an argument for presence a substring. This is not the main purpose of the macro, but I want to do different things depending on the substring being contained or not contained. Here is

[racket-users] Name of undefined identifier as string in macro

2019-08-03 Thread Zelphir Kaltstahl
Hi! I am trying to write a macro, which checks the name of an argument for presence a substring. This is not the main purpose of the macro, but I want to do different things depending on the substring being contained or not contained. Here is what I've got so far: ~ ;; A macro to get the