Last active
April 19, 2018 16:17
-
-
Save crcx/52b2d961a55c4aba9ec70c77a052587e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: choose | |
i listlist | |
r choice:false | |
r choice:true | |
i line.... | |
d 0 | |
i liadfeca | |
r choice:false | |
i re...... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This changes
choose
(and thereforeif
and-if
) to recognize any non-zero value asTRUE
(which is expected to be -1). It'll have a small performance hit, which may be significant if your code uses many conditionals.