[racket-users] get the contract of a (or any) function - or find matching functions

2016-07-16 Thread mattapiroglu
Hi, Thanks again and again for all the work on racket. Great language / implementation. I wonder if there's a way to get the contract of functions in the libraries? PS. I'm trying to find target functions in the namespace that'll 'match' the values I have (i.e. that can 'work with' the values

[racket-users] Re: Re-using an identifier as a submodule name?

2016-07-14 Thread mattapiroglu
On Friday, July 15, 2016 at 2:22:50 PM UTC+10, Jack Firth wrote: > I've got a macro that extends function definition by letting the user rebind > some identifiers with different values, which are then only available in a > certain context. For the sake of simplicity suppose it looks like this: >

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-14 Thread mattapiroglu
> I've noticed that if it can refer to a module-level immutable variable, > `eval` seems to know that it's immutable. So is there any way to define a new > variable as immutable in a namespace? > I believe box-immutable isn't what you're looking for, or would be too obvious an answer? (eval

Re: [racket-users] (namespace-variable-value) not working with a struct definition?

2016-07-09 Thread mattapiroglu
On Saturday, June 25, 2016 at 8:13:04 AM UTC+10, Matthew Flatt wrote: > > For what it's worth, I recommend avoiding `namespace-variable-value`. > There's usually a better way, but it depends on what you're trying to > do. > Thanks much for the lead, I am now using eval with relevant custom name