Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char (arity) - desc
- whitespace - nop
- ! - Break loop
- " - String literal
- # - Misc digraph char
- $ - TBD
- % (2) - (num, num) mod, (str, any) replace % with input
- & (2) - (num, num) logical AND
- ' - Function ref
- ( - Loop forever
- ) - Close variadic operator
- * (2) - (num, num) multiply, (any, num) repeat b times, (num, any) repeat a times
- + (2) - (num, num) add, (any, any) join string representations
- , (1) - (any) print with newline, returning the input
- - (2) - (num, num) subtract
- . - Decimal literal
- / (2) - (num, num) divide (div by zero is silent quit)
- 0 1 2 3 4 5 6 7 8 9 - number literals
- : (1) - (any) return a list [input, input]
- ; (1) - (any) print without newline, returning the input
- <=> (1) - comparison operators
- ? (2) - (any, any) if a truthy, return b, else return 0
- #? (3) - (any, any, any) if a truthy, return b, else return c
- @ A - TBD
- B (2) - (any, num) a from base b
- C (1) - (lst) cycle i.e. repeat forever, (num) codepoint to char, (str) char(s) to codepoint(s)
- D - Define variable
- E - TBD
- F (2) - (any, fun) filter a by b
- G (2) - (lst, fun) generate inf. list using initial terms a and generator b, (any, any) max(a,b)
- H I J K - TBD
- L (1) - length of a
- M (2) - (any, fun) map a using b, (any, any) min(a,b)
- N O P Q - TBD
- R (2) - (any, fun) reduce a by b, (num, num) range [a, b)
- S (1) - (lst) sum by the + operator, (num) digit sum, (str) sum of charcodes
- T U V - TBD
- W (1) - Wrap arg in a singleton list
- X Y - TBD
- Z (2) - (any, any) zip
- [ (1) - (num) decrement
- \ - Single char literal
- ] (1) - (num) increment
- ^ - TBD
- _ - Take input
- ` (variadic) - List from arguments
- a - TBD
- b (2) - (any, num) a to base b
- c - Constant digraph char
- d e f g h - TBD
- i (2) - (any, num) index into a
- j k l - TBD
- m - Math digraph char
- n o p q - TBD
- r (1) - (num) range [0, a)
- s - TBD
- t (2) - (any, num) take b elements from a
- u v w x y - TBD
- z (3) - (any, any, fun) map c over a, b
- { (1) - (any) first item/char/digit
- | (2) - (num, num) logical OR
- } (1) - (any) last item/char/digit
- ~ (1) - (any) logical NOT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement