Re: [racket-users] Re: provide-if-not-defined

2020-09-03 Thread Sorawee Porncharoenwase
I want to propose another interface: (my-provide #:default + - * #:override [my-+ +]) which expands to: (provide - *) (provide (rename-out [my-+ +])) and checks that + must be in the #:default section (because we are overriding it, it’d better already exist). More generally: (my-provide

Re: [racket-users] Re: provide-if-not-defined

2020-09-03 Thread Shriram Krishnamurthi
Ah, I see, that's a nice idea! One problem is have well over a dozen of these that I want to pass-through, but I suppose I could write a (rename-prefix ...) that turns into a bunch of define's. I'd have to be careful to not miss any. Another issue is that I have to redefine some of the langua