sanctuary-js / sanctuary

:see_no_evil: Refuge from unsafe JavaScript
https://sanctuary.js.org
MIT License
3.03k stars 94 forks source link

either: generalize S.encase to permit a value of any type to be thrown #662

Closed davidchambers closed 4 years ago

davidchambers commented 4 years ago

Closes #646

Avaq commented 4 years ago

...And the rest of the changes are just tests. So what part of the code makes it so encase doesn't throw anymore? o.O