Open jakobkogler opened 9 years ago
A bunch of golfing challenges give the input in a really stupid format like 1,2,abc or 1 2 3. It would be nice if there's a method that splits and evaluates them into [1, 2, "abc"] and [1, 2, 3]. Or even let Q and .Q do the work.
1,2,abc
1 2 3
[1, 2, "abc"]
[1, 2, 3]
Q
.Q
There's already rQ7, which splits by whitespace and evaluates.
@Ypnypn O.k. This takes care of the 1 2 3 input format. But the other example I posted is still really painful to parse.
A bunch of golfing challenges give the input in a really stupid format like
1,2,abc
or1 2 3
. It would be nice if there's a method that splits and evaluates them into[1, 2, "abc"]
and[1, 2, 3]
. Or even letQ
and.Q
do the work.