Skip to content

Conversation

skx
Copy link
Owner

@skx skx commented Feb 23, 2025

(set!) now works in a way that I think makes sense - it sets the variable in the scope in which it is defined.

So if inside a (let*) block we set it there, otherwise we set it in the parent scope.

This belatedly closes #22.

skx added 2 commits February 23, 2025 18:24
(set!) now works in a way that I think makes sense - it sets the
variable in the scope in which it is defined.

So if inside a (let*) block we set it there, otherwise we set it in
the parent scope.

This belatedly closes #22.
@skx skx merged commit de4fc37 into master Feb 23, 2025
2 checks passed
@skx skx deleted the 22-scope branch February 23, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Our scoping is a little broken
1 participant