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

New minor version #303

Merged
merged 89 commits into from
Jan 9, 2024
Merged

New minor version #303

merged 89 commits into from
Jan 9, 2024

Conversation

nielstron
Copy link
Contributor

@nielstron nielstron commented Jan 8, 2024

This introduces a breaking change: retyping of variables is not allowed anymore

This also fixes a bug in the previous versions of the type inferencer.

This also brings a significant performance improvement cf #297, allows placing return in arbitrary positions in functions and opens up the path to #301 .

nielstron and others added 30 commits November 1, 2023 10:54
Extend assert sum example and ensure determinism among union types
Bumps [black](https://github.com/psf/black) from 23.10.1 to 23.11.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.10.1...23.11.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy in right places to avoid reference capturing
Make binary operations more accessible
Add support for builtin list slicing
Improve error messages for union type and make merging stronger
Disallow retyping of variables to incompatible types
Final fix should take read external variables into account for the
function signature, disallow overriding with incompatible function type
Remove the need for an explicit statemonad
Add proper tests for return statements
Use constant nth field access where possible
@nielstron nielstron merged commit 99dcb69 into main Jan 9, 2024
7 checks passed
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.

1 participant