Re: [racket-users] dynamic-require of a string

2016-11-18 Thread Dan Liebgold
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

Re: [racket-users] dynamic-require of a string

2016-11-18 Thread Sam Tobin-Hochstadt
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 Liebgold wrote: > I have an odd use case, but is there any way to supply a string of the > contents of a module to

[racket-users] dynamic-require of a string

2016-11-18 Thread Dan Liebgold
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