gilch / hissp

It's Python with a Lissp.
https://gitter.im/hissp-lang/community
Apache License 2.0
364 stars 9 forks source link

Split ensure into assure/avow #217

Closed gilch closed 1 year ago

gilch commented 1 year ago

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.