-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
Description
I know the goal is to have Kona match K2 and possibly K3. Here's something I discovered when trying to parse sql.k
abc[`f`g`h`i`j]:(0 1 2 10 20 30;101 102 103 104 3 4;`f`e`d`c`b`a;2 3 8 2 9 0;1 2 1 2 2 2)
t:`abc
@[t;"+[f;1]"]
1 2 3 11 21 31
I.e. it's evaluating +[f;1] where f is taken as from the table abc. (Since t is the symbol `abc it's acting on the global.)
This seems like a pretty advanced feature and I was a little surprised to find this worked like this. It feels like it's an early incarnation of expressions in K9.
Reactions are currently unavailable