Skip to content

Compare: Commands

Showing with 1 addition and 47 deletions.
  1. +1 −0 Commands.md
  2. +0 −47 Extended-Commands.md
1 change: 1 addition & 0 deletions Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ Command|Elements Popped|Description|
`._`| `a,b` | Rotate **a** **b** units to the left
`.:`| `a,b,c` | Replace all. Push `a.replace(b, c)`
`.;`| `a,b,c` | Replace first. Push `a.replace_first(b, c)`
``| `a` | Sign. Push **-1** if **a < 0**, **1** if **a > 0**, **0** otherwise.
``| `a` | Sentence capitalisation. Push `sentence_cased(a)`
``| `a` | Split **a** by function result. Usage: `.¡ CODE }`
``| `a` | Logarithm with base **2**. Push `log_2(a)`
Expand Down