The "Unknown:"s below indicate that an entry is incomplete.
(begin ...) | block (grouping statements, especially when statements are not expressions) |
nothing needed | breaking lines (useful when end-of-line and/or indentation has a special meaning) |
#| ... |#(1) | commenting (nestable) |
; | commenting (until end of line) |
< > <= >= | comparison |
min / max | comparison (min / max (binary or more)) |
(define (f para1 para2) "..." ...) | documentation comment |
equal? | equality / inequality (deep) |
eq? eqv? | equality / inequality (shallow) |
eval | runtime evaluation |
[_a-zA-Z!0&*/:<=>?^][_a-zA-Z!0&*/:<=>?^0-9.+-]* | tokens (variable identifier regexp) |
hyphens | tokens (what is the standard way for scrunching together multiple words) |
set! | variable assignment or declaration (assignment) |
define | variable assignment or declaration (declaration) |
let let* | variable assignment or declaration (declaration) |
letrec | variable assignment or declaration (declaration) |
Unknown:
information about the current line and file
tokens (case-sensitivity (keywords, variable identifiers...))
comparison (returns 3 values (i.e. inferior, equal or superior))
force garbage collection
(lambda (a b) ...) | anonymous function |
(f a b ...) (apply f l) | function call |
(f) | function call (with no parameter) |
(define (f para1 para2) ...) | function definition |
(lambda x ...) or(2) | function definition (variable number of arguments) |
no syntax needed(3) | function return value (function body is the result) |
Unknown:
function called when a function is not defined (in dynamic languages)
runtime inspecting the caller information
function composition
identity function
call-with-current-continuation(4) | call-with-current-continuation |
dynamic-wind | exception (cleanup: code executed before leaving) |
(if c ...) | if_then |
(if c b1 b2) | if_then_else |
(cond (c b1) (c2 b2) (else b3)) | if_then_else |
(case val ((v1) ...) ((v2) ...) (else ...)) | multiple selection (switch) |
(begin ...) | sequence |
Unknown:
loop (for each value in a numeric range, 1 increment (see also the entries about ranges))
loop (for each value in a numeric range, 1 decrement)
loop (for each value in a numeric range, free increment)
loop (for "a la C" (while + initialisation))
breaking control flow (returning a value)
breaking control flow (goto (unconditional jump))
breaking control flow (continue / break)
Unknown:
package scope
declare
import
string-ref | accessing n-th character |
integer->char | ascii to character |
#\z | character "z" |
char->integer | character to ascii |
substring | extract a substring |
all strings allow multi-line strings | multi-line |
display | simple print (on any objects) |
write | simple print (on any objects) |
string-append | string concatenation |
equal? | string equality & inequality |
string-length | string size |
"..." | strings (with no interpolation of variables) |
char-upcase / char-downcase | upper / lower case character |
string-upcase / string-downcase | uppercase / lowercase / capitalized string |
Unknown:
strings (with interpolation of variables)
strings (end-of-line (without writing the real CR or LF character))
convert something to a string (see also string interpolation)
serialize (marshalling)
unserialize (un-marshalling)
duplicate n times
locate a substring
locate a substring (starting at the end)
#f | false value |
not(5) | logical not |
or / and | logical or / and (short circuit) |
#t | true value |
anything not false | true value |
cons | adding an element at the beginning (list cons) (return the new list (no side-effect)) |
cdr | all but the first element |
car | first element |
for-each | for each element do something |
member | is an element in the list |
memq memv | is an element in the list |
last | last element |
append | list concatenation |
'(a b c) | list constructor |
list | list constructor |
length | list size |
list-ref / vector-ref | list/array indexing |
assoc | lookup an element in a association list |
assq | lookup an element in a association list |
assv | lookup an element in a association list |
reverse | reverse |
min / max | smallest / biggest element |
sort(6) | sort |
map | transform a list (or bag) in another one |
map | transform two lists in parallel |
Unknown:
list flattening
adding an element at index
adding an element at the end
get the first element and remove it
get the last element and remove it
join a list of strings in a string using a glue string
iterate with index
or | optional value (null coalescing) |
v | optional value (value) |
Unknown:
tuple constructor
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (empty tuple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (1-uple)
computable tuple (these are a kind of immutable lists playing a special role in parameter passing) (using a tuple for a function call)
optional value (null value)
record (selector)
dictionary (constructor)
dictionary (access)
dictionary (has the key ?)
dictionary (remove by key)
dictionary (list of keys)
dictionary (list of values)
dictionary (merge)
range
+ / - / * / / | addition / subtraction / multiplication / division |
expt | exponentiation (power) |
log | logarithm (base e) |
remainder | modulo (modulo of -3 / 2 is -1) |
- | negation |
1000., 1E3 | numbers syntax (floating point) |
#b1, #o7, #xf | numbers syntax (integers in base 2, octal and hexadecimal) |
1000 | numbers syntax (integers) |
sqrt / exp / abs | square root / e-exponential / absolute value |
sin / cos / tan | trigonometry (basic) |
asin / acos / atan(7) | trigonometry (inverse) |
truncate / round / floor / ceiling | truncate / round / floor / ceil |
Unknown:
random (random number)
random (seed the pseudo random generator)
logarithm (base 10)
bitwise operators