Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let bindings #57

Open
VonTum opened this issue Jan 29, 2025 · 0 comments
Open

let bindings #57

VonTum opened this issue Jan 29, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@VonTum
Copy link
Collaborator

VonTum commented Jan 29, 2025

Since we're now on fully Hindley-Milner based typing, we can actually create let-bindings.

This should be a rather easy fix.

The fun thing is, that it doesn't conflict with name-resolution-dependent type/submodule resolution. With a let binding, of course, we have to assume it'll always be a type, and not a submodule.

Actually, it's not possible to not name a submodule in the code. Because we're accessing fields and interfaces, but those names can't tell us which submodule it is.

@VonTum VonTum added the enhancement New feature or request label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant