Update ref.txt

This commit is contained in:
JonoCode9374 2019-12-27 08:21:29 +11:00 committed by GitHub
parent 2aeafe5483
commit a0fe9d1d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 22 deletions

45
ref.txt
View File

@ -1,33 +1,31 @@
( ): NOP. Different to Keg where spaces do things. ( ): NOP. Different to Keg where spaces do things.
(!): Returns length of L if iterable (!): (iterable) Returns length of L
: Returns factorial of L otherwise : (+ve integer) Returns factorial of L
: (float/-ve integer) Returns the number (at this point)
("): Start a string ("): Start a string
(#): Comment (#): Comment
($): ($):
(%): (%):
(&): (&):
('): Escape next character ('):
((): ((): Start array
()): ()): Close array
(*): Returns L * R (*): Returns L * R
: Returns every possible permutation of l and r (+): Returns L + R
(+): Returns sum of L and R
: Returns an interweaved block made of l and r
(,): (,):
(-): Returns L - R (-): Returns L - R
: Returns a block with elements in r removed from l
(.): (.):
(/): (/):
(0): (0): Number 0
(1): (1): Number 1
(2): (2): Number 2
(3): (3): Number 3
(4): (4): Number 4
(5): (5): Number 5
(6): (6): Number 6
(7): (7): Number 7
(8): (8): Number 8
(9): (9): Number 9
(:): (:):
(;): (;):
(<): (<):
@ -62,9 +60,9 @@
(X): (X):
(Y): (Y):
(Z): (Z):
([): ([): Grouping syntax
(\): (\): Escape next character
(]): (]): Grouping syntax
(^): (^):
(_): (_):
(`): (`):
@ -94,6 +92,9 @@
(x): (x):
(y): (y):
(z): (z):
({): Grouping syntax
(}): Grouping syntax
(^): Reverses argument
Arguments: Arguments: