Hello,

I have a function, foo, that I define in a file, and then use later on in that 
file in multiple other functions. In some of the functions, I need foo at phase 
0. In others, I need it at phase 1.

Is there a way to define foo in both phases at once, or do you need to copy and 
paste the definition, once with define and once with define-for-syntax?

I could of course define it in another file and export it in both phases, but 
it truthfully belongs in the same file as the other things I'm using it for.

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to