Closed ghost closed 3 years ago
Going to fix it for num but strings... mmmm, don't wanna get into that for now (no Unicode support yet etc)
Going to fix it for num but strings... mmmm, don't wanna get into that for now (no Unicode support yet etc)
Maybe for ASCII?
๐ค๐คจ๐คฌ hmmmmmm....
Problem is that it would have to be extended quite a bit to support all that validation, and it's in the num module... OR! You could just use ord
and chr
with a sprinkle of apply
and map
and be done with it:
("a" ord "z" ord) => range 'chr map
๐ฌ๐๐๐
Erhm... in the same spirit, you could just use it as-is and map it to whatever float you want to get a range of floats:
(1 7) range (0.5 *) map
So, in other words, I gotta fix only the validation and make sure you can provide only a quotation of int values. ๐
(1 7) range (0.5 *) map
Not a great solution i think. โ ๐ธ Result quote doesn't even start from 1
right?? : (0.5 1.0 1.5 2.0 2.5 3.0 3.5)
But as you mean, one never need to a native float
or string
range. Instead, one need to be wise for thinking how will symbols which are much more useful done in min... haha
Thanks for enlighting me. ๐ก
Haha yes you are right, didn't think of that with floats ๐๐
But yes we can survive without.
But yes we can survive without.
Yep, right!
Fixed in v0.31.0.
range
symbol isn't working with float and char value included quote:Erorr: