iota
iota copied to clipboard
Primitive Io types
Lists/sequences in particular. At the moment the results of messages like slotNames can't be printed or dealt with.
When we get lists supported, will this code:
coordinatesToBuy := list(list(0,0), list(1,1), list(2,2), list(3,3), list(4,4), list(5,5), list(6,6))
... be equivalent to this JavaScript?
var coordinatesToBuy = [[0,0], [1,1], [2,2], [3,3], [4,4], [5,5], [6,6]];
Possibly, but the array objects will need to respond to Io messages as well (=> have a send method), so I might have to wrap them in an additional object or use prototypes somehow.