Re: [racket-users] dynamic-require of a string
On Friday, November 18, 2016 at 4:46:38 PM UTC-8, Sam Tobin-Hochstadt wrote: > You'll need to use `eval` to evaluate the module. > Interesting... If I want to add more context (for errors and such), is there a good way to use read-syntax and eval-syntax? -- 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.
Re: [racket-users] dynamic-require of a string
You'll need to use `eval` to evaluate the module. Something like this: http://pasterack.org/pastes/17703 Sam On Fri, Nov 18, 2016 at 7:38 PM, Dan Liebgoldwrote: > I have an odd use case, but is there any way to supply a string of the > contents of a module to something like require or dynamic-require? > > An example of my desired usage: http://pasterack.org/pastes/38798 > > Thanks, > Dan > > -- > 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. -- 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.
[racket-users] dynamic-require of a string
I have an odd use case, but is there any way to supply a string of the contents of a module to something like require or dynamic-require? An example of my desired usage: http://pasterack.org/pastes/38798 Thanks, Dan -- 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.