what’s wrong with this?
x: ( time:timestamp$(); v:
int$())
x,: (2#.z.p; 2#1)
`type
/this works
`x insert (2#.z.p; 2#1)
/this also works
x: ( y:int$(); v:
int$())
x,: (2#1; 2#1)
what’s wrong with this?
x: ( time:timestamp$(); v:
int$())
x,: (2#.z.p; 2#1)
`type
/this works
`x insert (2#.z.p; 2#1)
/this also works
x: ( y:int$(); v:
int$())
x,: (2#1; 2#1)
each of these appends 2 rows (each row with a timestamp and an integer)
x,:(time:2#.z.p; v:2#1)
x,:flip time
v!(2#.z.p;2#1)
`x insert (2#.z.p; 2#1)
this, however, attempts to inserts 2 non-conforming rows (the first with 2 timestamps, the second with 2 integers), which will therefore throw a type error:
x,:(2#.z.p;2#1)
this will work, but won’t be as efficient as the three listed above:
x,:((.z.p;1);(.z.p;1))
thanks!