| Unary Operators |
~ |
integer negation |
| not |
boolean negation |
| hd |
return the first element of a list (car) |
| tl |
return the list without its first element (cdr) |
| fst |
return the first element of a tuple |
| snd |
return the second element of a tuple |
| #n |
return the nth element of a tuple |
| Binary Operators |
| / |
integer division |
| % |
modulo |
| * |
integer multiplication |
| + |
integer addition |
| -- |
integer subtraction |
| and |
boolean conjunction |
| or |
boolean disjunction |
| < |
integer less than |
| <= |
integer less than or equal to |
| > |
integer greater than |
| >= |
integer greater than or equal to |
| = |
equality |
| <> |
inequality |
| :: |
cons |
| << |
left shift arithmetic |
| >> |
right shift arithmetic |
| xori |
bitwise xor |
| andi |
bitwise and |
| ori |
bitwise or |
| noti |
bitwise negation |
| explode |
convert a string to a list of characters |
| implode |
convert a list of characters into a string |
| ord |
return the ASCII value of a character |
| chr |
return the character with the given ASCII value |
^ |
string concatenation |