3 ms·
While you are using C-style syntax, you are also using "map", which comes pretty close to using vectors in Klong (or K or APL). However, there are many differen
by nils-m-holm 7y ago
While you are using C-style syntax, you are also using "map", which comes pretty close to using vectors in Klong (or K or APL). However, there are many different mapping and folding operstors in array languages, and their combination is what makes these languages terse. For example,
,/:~
(Join Over Converging) flattens a list in Klong.
Klong is simple, because its syntax is very regular. In K, many symbols are overloaded, so their meaning can only be deduced when knowing the types of their operands. In Klong, the syntax is unambiguous. See http://t3x.org/klong/ambiguity.html http://t3x.org/klong/ambiguity.html
Regarding precedence rules: there are none. Everything evaluates from the right to the left (as in K or APL).