Function/Operator/Hyperator Assignment

From NARS2000
Revision as of 00:57, 10 March 2019 by WikiSysop (talk | contribs)
Jump to navigationJump to search
A←f assigns the function f to A.
A←op1 assigns the monadic operator op1 to A.
A←op2 assigns the dyadic operator op2 to A.
A←h1o1 assigns the monadic hyperator, monadic operator h1o1 to A.
A←h1o2 assigns the monadic hyperator, dyadic operator h1o2 to A.
A←h2o1 assigns the dyadic hyperator, monadic operator h2o1 to A.
A←h2o2 assigns the dyadic hyperator, dyadic operator h2o2 to A.
A is an assignable name, f, op1, and op2 are an arbitrary function, monadic or dyadic operator, respectively.


For example, the function RankEach←⍴∘⍴¨ when applied to an array, returns the number of dimensions of each item.