file_name
=
>
>=
<
<=
+
-
*
/
**
%
assert
define-syntax
define
mutate
vector-length
vector-ref
vector-set!
set!
set-car!
set-cdr!
if
quote
quasiquote
and
or
not
lambda
special-lambda
eval
begin
list
vector
pair
first
rest
set-type!
delete-type!
type
mem-reset
info
show
addr-of
generate-docs
print
read
exit
break
memstat
load
import
copy
symbol->keyword
string->symbol
symbol->string
concat-strings
pe
when
unless
n-times
let
cond
case
define-special
construct-list
apply
define-typed
define-module
null?
type?=
types?=
assert-types=
number?
symbol?
keyword?
pair?
string?
lambda?
macro?
special-lambda?
built-in-function?
callable?
end
last
extend
extend2
append
length
member?
sublist-starting-at-index
list-without-index
increment
decrement
range
range-while
map
reduce
reduce-binary
filter
zip
unzip
enumerate
\hrule
file_name
generate-docs.slime:5:44
:string
"../manual/built-in-docs.org"
none
\hrule
=
src/./built_ins.cpp:159:0
:cfunction
Takes 0 or more arguments and returns t if all arguments are equal and () otherwise.
\hrule
>
src/./built_ins.cpp:175:0
:cfunction
TODO
\hrule
>=
src/./built_ins.cpp:189:0
:cfunction
TODO
\hrule
<
src/./built_ins.cpp:203:0
:cfunction
TODO
\hrule
<=
src/./built_ins.cpp:217:0
:cfunction
TODO
\hrule
+
src/./built_ins.cpp:231:0
:cfunction
TODO
\hrule
-
src/./built_ins.cpp:243:0
:cfunction
TODO
\hrule
*
src/./built_ins.cpp:264:0
:cfunction
TODO
\hrule
/
src/./built_ins.cpp:281:0
:cfunction
TODO
\hrule
**
src/./built_ins.cpp:300:0
:cfunction
TODO
\hrule
%
src/./built_ins.cpp:307:0
:cfunction
TODO
\hrule
assert
src/./built_ins.cpp:314:0
:cfunction
TODO
\hrule
define-syntax
src/./built_ins.cpp:323:0
:cfunction
TODO
\hrule
define
src/./built_ins.cpp:369:0
:cfunction
TODO
\hrule
mutate
src/./built_ins.cpp:425:0
:cfunction
TODO
\hrule
vector-length
src/./built_ins.cpp:447:0
:cfunction
TODO
\hrule
vector-ref
src/./built_ins.cpp:452:0
:cfunction
TODO
\hrule
vector-set!
src/./built_ins.cpp:465:0
:cfunction
TODO
\hrule
set!
src/./built_ins.cpp:480:0
:cfunction
TODO
\hrule
set-car!
src/./built_ins.cpp:500:0
:cfunction
TODO
\hrule
set-cdr!
src/./built_ins.cpp:508:0
:cfunction
TODO
\hrule
if
src/./built_ins.cpp:516:0
:cfunction
TODO
\hrule
quote
src/./built_ins.cpp:530:0
:cfunction
TODO
\hrule
quasiquote
src/./built_ins.cpp:534:0
:cfunction
TODO
\hrule
and
src/./built_ins.cpp:631:0
:cfunction
TODO
\hrule
or
src/./built_ins.cpp:643:0
:cfunction
TODO
\hrule
not
src/./built_ins.cpp:655:0
:cfunction
TODO
\hrule
lambda
src/./built_ins.cpp:689:0
:cfunction
TODO
\hrule
special-lambda
src/./built_ins.cpp:705:0
:cfunction
TODO
\hrule
eval
src/./built_ins.cpp:721:0
:cfunction
TODO
\hrule
begin
src/./built_ins.cpp:731:0
:cfunction
TODO
\hrule
list
src/./built_ins.cpp:743:0
:cfunction
TODO
\hrule
vector
src/./built_ins.cpp:747:0
:cfunction
TODO
\hrule
pair
src/./built_ins.cpp:754:0
:cfunction
TODO
\hrule
first
src/./built_ins.cpp:761:0
:cfunction
TODO
\hrule
rest
src/./built_ins.cpp:768:0
:cfunction
TODO
\hrule
set-type!
src/./built_ins.cpp:775:0
:cfunction
TODO
\hrule
delete-type!
src/./built_ins.cpp:781:0
:cfunction
TODO
\hrule
type
src/./built_ins.cpp:786:0
:cfunction
TODO
\hrule
mem-reset
src/./built_ins.cpp:819:0
:cfunction
TODO
\hrule
info
src/./built_ins.cpp:828:0
:cfunction
TODO
\hrule
show
src/./built_ins.cpp:899:0
:cfunction
TODO
\hrule
addr-of
src/./built_ins.cpp:911:0
:cfunction
TODO
\hrule
generate-docs
src/./built_ins.cpp:916:0
:cfunction
TODO
\hrule
print
src/./built_ins.cpp:922:0
:cfunction
TODO
\hrule
read
src/./built_ins.cpp:937:0
:cfunction
TODO
\hrule
exit
src/./built_ins.cpp:949:0
:cfunction
TODO
\hrule
break
src/./built_ins.cpp:954:0
:cfunction
TODO
\hrule
memstat
src/./built_ins.cpp:960:0
:cfunction
TODO
\hrule
load
src/./built_ins.cpp:979:0
:cfunction
TODO
\hrule
import
src/./built_ins.cpp:989:0
:cfunction
TODO
\hrule
copy
src/./built_ins.cpp:1000:0
:cfunction
TODO
\hrule
symbol->keyword
src/./built_ins.cpp:1013:0
:cfunction
TODO
\hrule
string->symbol
src/./built_ins.cpp:1018:0
:cfunction
TODO
\hrule
symbol->string
src/./built_ins.cpp:1027:0
:cfunction
TODO
\hrule
concat-strings
src/./built_ins.cpp:1034:0
:cfunction
TODO
\hrule
pe
:macro
expr
none
\hrule
when
:macro
condition:
body
Special form for when multiple actions should be done if a condition is true.
{{{example_start}}} (when (not ()) (print "Hello ") (print "from ") (print "when!"))
(when () (print "Goodbye ") (print "World!")) {{{example_end}}}
\hrule
unless
:macro
condition:
body
Special form for when multiple actions should be done if a condition is false.
\hrule
n-times
:macro
times, action
Executes action times times.
\hrule
let
:macro
bindings:
body
none
\hrule
cond
:macro
clauses
none
\hrule
case
:macro
var:
clauses
none
\hrule
define-special
:macro
name-and-args:
body
none
\hrule
construct-list
:macro
body
{{{example_start}}} (construct-list i <- '(1 2 3 4 5) yield (* i i)) {{{example_end}}}
(construct-list i <- '(1 2 3 4) j <- '(A B) yield (pair i j))
(construct-list i <- '(1 2 3 4 5 6 7 8) if (= 0 (% i 2)) yield i)
\hrule
apply
:macro
fun, seq
Applies the function to the sequence, as in calls the function with ithe sequence as arguemens.
\hrule
define-typed
:macro
args:
body
none
\hrule
define-module
:macro
module-name:
exports:
body
none
\hrule
null?
:lambda
x
Checks if the argument is nil.
\hrule
type?=
:lambda
obj, typ
Checks if the argument obj is of type typ
\hrule
types?=
:lambda
objs
none
\hrule
assert-types=
:lambda
objs
none
\hrule
number?
:lambda
x
Checks if the argument is a number.
\hrule
symbol?
:lambda
x
Checks if the argument is a symbol.
\hrule
keyword?
:lambda
x
Checks if the argument is a keyword.
\hrule
pair?
:lambda
x
Checks if the argument is a pair.
\hrule
string?
:lambda
x
Checks if the argument is a string.
\hrule
lambda?
:lambda
x
Checks if the argument is a function.
\hrule
macro?
:lambda
x
Checks if the argument is a macro.
\hrule
special-lambda?
:lambda
x
Checks if the argument is a special-lambda.
\hrule
built-in-function?
:lambda
x
Checks if the argument is a built-in function.
\hrule
callable?
:lambda
x
none
\hrule
end
:lambda
seq
Returns the last pair in the sqeuence.
{{{example_start}}} (define a (list 1 2 3 4)) (print (end a)) {{{example_end}}}
\hrule
last
:lambda
seq
Returns the (first) of the last (pair) of the given sequence.
{{{example_start}}} (define a (list 1 2 3 4)) (print (last a)) {{{example_end}}}
\hrule
extend
:lambda
seq, elem
Extends a list with the given element, by putting it in the (rest) of the last element of the sequence.
\hrule
extend2
:lambda
seq, elem
Extends a list with the given element, by putting it in the (rest) of the last element of the sequence.
\hrule
append
:lambda
seq, elem
Appends an element to a sequence, by extendeing the list with (pair elem nil).
\hrule
length
:lambda
seq
Returns the length of the given sequence.
\hrule
member?
:lambda
elem, seq
none
\hrule
sublist-starting-at-index
:lambda
seq, index
none
\hrule
list-without-index
:lambda
seq, index
none
\hrule
increment
:lambda
val
Adds one to the argument.
\hrule
decrement
:lambda
val
Subtracts one from the argument.
\hrule
range
:lambda
from (0), to
Returns a sequence of numbers starting with the number defined
by the key from and ends with the number defined in to.
\hrule
range-while
:lambda
from (0)
Returns a sequence of numbers starting with the number defined by the key 'from' and ends with the number defined in 'to'.
\hrule
map
:lambda
fun, seq
Takes a function and a sequence as arguments and returns a new sequence which contains the results of using the first sequences elemens as argument to that function.
\hrule
reduce
:lambda
fun, seq
Takes a function and a sequence as arguments and applies the function to the argument sequence. This only works correctly if the given function accepts a variable amount of parameters. If your funciton is limited to two arguments, use /felix/slime/src/commit/47b33f2f3a20f490b7e7aed70ceccc41d959ae6b/manual/=reduce-binary= instead.
\hrule
reduce-binary
:lambda
fun, seq
Takes a function and a sequence as arguments and applies the function to the argument sequence. reduce-binary applies the arguments pair-wise which means it works with binary functions as compared to /felix/slime/src/commit/47b33f2f3a20f490b7e7aed70ceccc41d959ae6b/manual/=reduce=.
\hrule
filter
:lambda
fun, seq
Takes a function and a sequence as arguments and applies the function to every value in the sequence. If the result of that funciton application returns a truthy value, the original value is added to a list, which in the end is returned.
\hrule
zip
:lambda
l1, l2
none
\hrule
unzip
:lambda
lists
none
\hrule
enumerate
:lambda
seq
none