Open marcelocantos opened 4 years ago
Feature | Arr.ai implementation |
---|---|
x[begin:end:step] |
x(begin:end:step) |
{…} + {…} |
(…) + (…) and {k: v…} + {k: v…} |
assert |
//.assert |
importstr |
//.file |
error |
//.error |
Feature | Comments |
---|---|
super |
|
self |
Partially supported via //.fn.fixt but might need more. |
lazy semantics | Partially supported but might need more. |
:: and ::: |
Perhaps use -"abc" to denote hidden fields. |
Feature | Comments |
---|---|
comprehensions | Not required. Arr.ai has its own rich transformation primitives. However, the macro system might enable comprehension syntax for those who prefer it (and in some use cases it might read better than the algebraic structure of the core language). |
intra-object local |
Not planned. Not required with current semantics, but might resurface with the super and self features. |
f(x) = expr |
Redundant and not beneficial to arr.ai, given the terseness of its lambda syntax. |
Map out what's:
Think about language improvements to close any such gaps.