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

Export Set and Map types from the Prelude #164

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Export Set and Map types from the Prelude #164

merged 1 commit into from
Jan 31, 2025

Conversation

janmasrovira
Copy link
Contributor

@janmasrovira janmasrovira commented Jan 31, 2025

The types Set and Map are now exported from the Prelude. Additionally, it is possible to refer to Map operations with Map.* and Set.*. E.g.

import Stdlib.Prelude open;

a : Set Nat := Set.empty;
b : Map Nat Nat := Map.empty;

@janmasrovira janmasrovira added the enhancement New feature or request label Jan 31, 2025
@janmasrovira janmasrovira self-assigned this Jan 31, 2025
@janmasrovira janmasrovira marked this pull request as ready for review January 31, 2025 09:26
@lukaszcz lukaszcz merged commit 828cc28 into main Jan 31, 2025
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants