karelpeeters
12/05/2017, 11:55 AMx to y
that returns a sequence that goes into whatever direction is required, for example: 0 to 5
is [0,1,3,4]
and 0 to -5
is [0,-1,-2,-3,-4]
.ilya.gorbunov
12/05/2017, 3:54 PMto
function name is already taken by pair creation.
Thus it would require a different name, something like goesTo
. What is your use case? Are you going to use it only with literal bounds?