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
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:
>
> 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
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
4 matches
Mail list logo