[racket-users] Instantiating a module in a meta-language

2015-05-11 Thread Alexis King
I’ve written a meta-language that adds function literal syntax to the reader, inspired by Clojure and Rackjure’s shorthand function literals. It uses curly braces for these literals, so #{+ 2 %} reads as (lambda (%) (+ 2 %)). This actually works great, but I also want to add a feature that the

Re: [racket-users] Instantiating a module in a meta-language

2015-05-11 Thread Sam Tobin-Hochstadt
One solution would be to use `local-require`: (((let () (local-require (only-in racket/function curry)) curry) + ) 2) Sam On Mon, May 11, 2015 at 3:24 PM, Alexis King lexi.lam...@gmail.com wrote: I’ve written a meta-language that adds function literal syntax to the reader, inspired by