diff options
Diffstat (limited to 'help')
| -rw-r--r-- | help/depth.md | 4 | ||||
| -rw-r--r-- | help/leftargument.md | 8 | ||||
| -rw-r--r-- | help/length_notequals.md | 2 | ||||
| -rw-r--r-- | help/merge_greaterthan.md | 6 | ||||
| -rw-r--r-- | help/nothing.md | 8 | ||||
| -rw-r--r-- | help/rank.md | 2 | ||||
| -rw-r--r-- | help/rank_equals.md | 2 |
7 files changed, 24 insertions, 8 deletions
diff --git a/help/depth.md b/help/depth.md index 8c0d4367..bbe4d297 100644 --- a/help/depth.md +++ b/help/depth.md @@ -5,9 +5,11 @@ ## `π½βπ π©`, `π¨ π½βπ π©`: Depth [βfull documentation](../doc/depth.md#the-depth-modifier) -Apply `π½` to the cells of the arguments at depth given in `π`. +Apply `π½` to the cells of the arguments at depth given in `π`. Negative numbers count down from the top level and non-negative ones from the bottom up. 1βΈββ1 β¨β¨1,2,3β©, β¨4,5,6β©β© 1 ββ1 β¨β¨1,2,3β©, β¨4,5,6β©β© + + (+Β΄β)β0 β¨2,4βΏ7,3β© # Implements pervasion diff --git a/help/leftargument.md b/help/leftargument.md index f8031f26..bda7fedc 100644 --- a/help/leftargument.md +++ b/help/leftargument.md @@ -8,3 +8,11 @@ A variable assigned to the left argument of a block. `π` can be used to access the left argument as a function. 5 {π¨} 1 + + -βΏΓ· {ππ©}Β¨ 4 + +In a call with no left argument, `π¨` functions as [Nothing](nothing.md) and `π` can't be used. + + {(-π¨)βπ©} 6 + + 2 {(-π¨)βπ©} 6 diff --git a/help/length_notequals.md b/help/length_notequals.md index 5d17237c..e13a14fe 100644 --- a/help/length_notequals.md +++ b/help/length_notequals.md @@ -23,6 +23,8 @@ Length of the first dimension of `π©`. ## `π¨ β π©`: Not Equal To [βfull documentation](../doc/arithmetic.md#comparisons) +Do argument atoms not match? + [Pervasive.](../doc/arithmetic.md#pervasion) 1 β 3 diff --git a/help/merge_greaterthan.md b/help/merge_greaterthan.md index ee315fca..e78c063a 100644 --- a/help/merge_greaterthan.md +++ b/help/merge_greaterthan.md @@ -5,11 +5,9 @@ ## `> π©`: Merge [βfull documentation](../doc/couple.md) -Add the rank of an element of `π©` to the rank of `π©`. +Combine an array of arrays into one array. All elements of `π©` must have the same rank, and the result rank is that plus the rank of `π©`. -All elements must have the same rank. - -Returns atomic values as is. +Returns and boxed atoms unchanged. a β β¨β¨1, 2β©, β¨3, 4β©β© diff --git a/help/nothing.md b/help/nothing.md index 0a5ad783..23aee6ba 100644 --- a/help/nothing.md +++ b/help/nothing.md @@ -5,6 +5,10 @@ ## `Β·`: Nothing [βfull documentation](../doc/expression.md#nothing) +Indicates no value. If a left argument is Nothing, the function is called with no left argument, and if the right is Nothing, it's not called and "returns" Nothing. + + Β· β½ "abc" # Reverse instead of Rotate + ### In Trains Nothing can serve as a left argument in a train to string together multiple monadic functions. @@ -13,9 +17,9 @@ Nothing can serve as a left argument in a train to string together multiple mona (-Β·+-) 5 -### In Block Headers +### Destructuring -For Block header pattern matching syntax, Nothing can be used to indicate an unused value. +For pattern matching in assignment or a block header, Nothing indicates an unused value. F β {π aβΏΒ·βΏb: aβΎb} diff --git a/help/rank.md b/help/rank.md index 8f9e83ac..a3dddaf5 100644 --- a/help/rank.md +++ b/help/rank.md @@ -4,7 +4,7 @@ ## `π½βπ π©`, `π¨ π½βπ π©`: Rank -Apply `π½` to cells at ranks given in `π`. +Apply `π½` to cells at ranks given in `π`. Non-negative numbers indicate the rank of the cell and negative ones indicate the difference from full rank. The ranks applied are given by the following: diff --git a/help/rank_equals.md b/help/rank_equals.md index 0f41f6fa..ed590408 100644 --- a/help/rank_equals.md +++ b/help/rank_equals.md @@ -21,6 +21,8 @@ Returns the number of dimensions in `π©`. ## `π¨ = π©`: Equal To [βfull documentation](../doc/arithmetic.md#comparisons) +Do argument atoms match? + [Pervasive.](../doc/arithmetic.md#pervasion) 1 = 3 |
