to / til is same on non-numbers #141

Closed
paulmillr opened this Issue Jun 20, 2012 · 1 comment

Projects

None yet

2 participants

@paulmillr
coco> [1 to 5]
[ 1, 2, 3, 4, 5 ]
coco> [1 til 5]
[ 1, 2, 3, 4 ]
coco> [\a to \d]
[ 'a', 'b', 'c', 'd' ]
coco> [\a til \d]
[ 'a', 'b', 'c', 'd' ]
@satyr
Owner

Right, it's pretty broken:

$ coco -pe '[97 til 100]'
[ 97, 98, 99, 100 ]

Will overhaul.

@satyr satyr closed this in 0b21f54 Jun 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment