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

Split ensure into assure/avow #217

Merged
merged 1 commit into from
May 31, 2023
Merged

Split ensure into assure/avow #217

merged 1 commit into from
May 31, 2023

Conversation

gilch
Copy link
Owner

@gilch gilch commented May 31, 2023

avow is like ensure was, but isn't conditional on __debug__.

assure is now implemented in terms of avow but otherwise works just like ensure did. It also avoids the en- name implying that it's from the prelude when it's not.

Removing ensure is a possibly breaking change, if anyone was using that.

@gilch gilch merged commit d6d3c24 into master May 31, 2023
@gilch gilch deleted the assure-avow branch May 31, 2023 23:31
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.

None yet

1 participant