support string range operator
#12
Closed
opened 6 years ago by mbutterick
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Expands to choice pattern, so
"0".."3"
is the same as("0" | "1" | "2" | "3")
I suppose this is a special case of #11 also.
Though it could also be implemented as shorthand for a choice pattern.
As a matter of syntax expansion, this could be done. But it’s too hard to figure out how it should work in cases other than digits. Even alphabets are complex. Too much mischief.