Alexis King
unread,Dec 2, 2016, 3:01:22 PM12/2/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Alex Knauth, Matthew Butterick, Matthew Flatt, Racket Developers
> On Dec 2, 2016, at 11:21 AM, Alex Knauth <
alex...@knauth.org> wrote:
>
> Does that mean it will yell at you when used with langs like afl, curly-fn, and sugar/debug?
>
> Or are you using this because you'll end up calling strip-context anyway?
This is a bit off-topic, and I don’t want to hijack this thread,
but I think those packages (my curly-fn package included) are a bit
of an abomination, and I wouldn’t spend too much time hand-wringing
about how to support them. I’d like to get rid of that if at all
possible, but it’s not currently clear how to do that. I have an
open PR, racket/racket#1458[1], that attempts to solve it, and
curly-fn is set up to support that. I have no idea if that’s a good
solution, though.
> No, the lexical information is still more than just the scope-sets, I believe it also includes other information about bindings. So strip-context is still relevant.
>
> (See also functions like identifier-prune-lexical-context, which if I understand correctly leaves scopes alone and prunes other information)
Do you have more information about this? I don’t think I ever looked
at identifier-prune-lexical-context in much detail, and it’s really
confusing to me. What exactly does that do and when would I need
it?
[1]:
https://github.com/racket/racket/pull/1458