AFAICT all the examples in the documentation send results to print. How can I save results?
For example, in Pythonect 0.6 interpreter using Python 2.7.12:
a = [1,2,3]
[2,3] -> sum(_!) -> [a = _] -> a
a -> print
Prints [1, 2, 3], not 5 as expected, implying the value of a in global scope was not changed.
Edit: It would be nice if 2 -> a would set a to 2, creating an intuitive input -> function -> output flow.
AFAICT all the examples in the documentation send results to
print. How can I save results?For example, in Pythonect 0.6 interpreter using Python 2.7.12:
Prints
[1, 2, 3], not5as expected, implying the value ofain global scope was not changed.Edit: It would be nice if
2 -> awould setato2, creating an intuitiveinput -> function -> outputflow.