=
>
>=
<
<=
+
-
*
/
**
%
assert
define
mutate
if
quote
quasiquote
and
or
not
while
lambda
special-lambda
eval
begin
list
pair
first
rest
set-type
delete-type
type
info
show
addr-of
generate-docs
print
read
exit
break
memstat
try
load
import
copy
error
symbol->keyword
string->symbol
symbol->string
concat-strings
pe
when
unless
n-times
let
cond
define-special
construct-list
apply
define-package
null?
number?
symbol?
keyword?
pair?
string?
lambda?
macro?
special-lambda?
built-in-function?
callable?
end
last
extend
extend2
append
length
sublist-starting-at-index
list-without-index
increment
decrement
range
range-while
map
reduce
reduce-binary
filter
zip
unzip
enumerate
printf
define-class
->
math->
math-> pi
math-> abs
math-> sqrt
math-> make-vector3
math-> make-vector3 define-class
math-> make-vector3 ->
\hrule
=
src/./built_ins.cpp:158: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:193:0
:cfunction
TODO
\hrule
<
src/./built_ins.cpp:211:0
:cfunction
TODO
\hrule
<=
src/./built_ins.cpp:231:0
:cfunction
TODO
\hrule
+
src/./built_ins.cpp:249:0
:cfunction
TODO
\hrule
-
src/./built_ins.cpp:262:0
:cfunction
TODO
\hrule
*
src/./built_ins.cpp:285:0
:cfunction
TODO
\hrule
/
src/./built_ins.cpp:306:0
:cfunction
TODO
\hrule
**
src/./built_ins.cpp:327:0
:cfunction
TODO
\hrule
%
src/./built_ins.cpp:343:0
:cfunction
TODO
\hrule
assert
src/./built_ins.cpp:359:0
:cfunction
TODO
\hrule
define
src/./built_ins.cpp:371:0
:cfunction
TODO
\hrule
mutate
src/./built_ins.cpp:433:0
:cfunction
TODO
\hrule
if
src/./built_ins.cpp:458:0
:cfunction
TODO
\hrule
quote
src/./built_ins.cpp:480:0
:cfunction
TODO
\hrule
quasiquote
src/./built_ins.cpp:485:0
:cfunction
TODO
\hrule
and
src/./built_ins.cpp:583:0
:cfunction
TODO
\hrule
or
src/./built_ins.cpp:594:0
:cfunction
TODO
\hrule
not
src/./built_ins.cpp:605:0
:cfunction
TODO
\hrule
while
src/./built_ins.cpp:615:0
:cfunction
TODO
\hrule
lambda
src/./built_ins.cpp:693:0
:cfunction
TODO
\hrule
special-lambda
src/./built_ins.cpp:705:0
:cfunction
TODO
\hrule
eval
src/./built_ins.cpp:713:0
:cfunction
TODO
\hrule
begin
src/./built_ins.cpp:725:0
:cfunction
TODO
\hrule
list
src/./built_ins.cpp:741:0
:cfunction
TODO
\hrule
pair
src/./built_ins.cpp:745:0
:cfunction
TODO
\hrule
first
src/./built_ins.cpp:755:0
:cfunction
TODO
\hrule
rest
src/./built_ins.cpp:766:0
:cfunction
TODO
\hrule
set-type
src/./built_ins.cpp:777:0
:cfunction
TODO
\hrule
delete-type
src/./built_ins.cpp:789:0
:cfunction
TODO
\hrule
type
src/./built_ins.cpp:796:0
:cfunction
TODO
\hrule
info
src/./built_ins.cpp:828:0
:cfunction
TODO
\hrule
show
src/./built_ins.cpp:910:0
:cfunction
TODO
\hrule
addr-of
src/./built_ins.cpp:922:0
:cfunction
TODO
\hrule
generate-docs
src/./built_ins.cpp:928:0
:cfunction
TODO
\hrule
print
src/./built_ins.cpp:937:0
:cfunction
TODO
\hrule
read
src/./built_ins.cpp:945:0
:cfunction
TODO
\hrule
exit
src/./built_ins.cpp:962:0
:cfunction
TODO
\hrule
break
src/./built_ins.cpp:973:0
:cfunction
TODO
\hrule
memstat
src/./built_ins.cpp:978:0
:cfunction
TODO
\hrule
try
src/./built_ins.cpp:982:0
:cfunction
TODO
\hrule
load
src/./built_ins.cpp:997:0
:cfunction
TODO
\hrule
import
src/./built_ins.cpp:1008:0
:cfunction
TODO
\hrule
copy
src/./built_ins.cpp:1019:0
:cfunction
TODO
\hrule
error
src/./built_ins.cpp:1027:0
:cfunction
TODO
\hrule
symbol->keyword
src/./built_ins.cpp:1034:0
:cfunction
TODO
\hrule
string->symbol
src/./built_ins.cpp:1043:0
:cfunction
TODO
\hrule
symbol->string
src/./built_ins.cpp:1055:0
:cfunction
TODO
\hrule
concat-strings
src/./built_ins.cpp:1064:0
:cfunction
TODO
\hrule
pe
pre.slime:2:40
:macro
expr
none
\hrule
when
pre.slime:21:37
: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
pre.slime:28:41
:macro
condition:
body
Special form for when multiple actions should be done if a condition is false.
\hrule
n-times
pre.slime:35:35
:macro
times, action
Executes action times times.
\hrule
let
pre.slime:52:64
:macro
bindings:
body
none
\hrule
cond
pre.slime:66:19
:macro
clauses
none
\hrule
define-special
pre.slime:69:81
:macro
name-and-args:
body
none
\hrule
construct-list
pre.slime:110:14
: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) when (evenp i) yield i)
\hrule
apply
pre.slime:115:28
:macro
fun, seq
Applies the funciton to the sequence, as in calls the function with ithe sequence as arguemens.
\hrule
define-package
pre.slime:129:24
:macro
name:
body
none
\hrule
null?
:lambda
x
Checks if the argument is nil.
\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)) (printf (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)) (printf (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
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), to
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/d576e7324f0ec68a200563789c7eeb1a85111a86/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/d576e7324f0ec68a200563789c7eeb1a85111a86/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
\hrule
printf
:lambda
sep (" "), end ("\n"):
args
A wrapper for the built-in function /felix/slime/src/commit/d576e7324f0ec68a200563789c7eeb1a85111a86/manual/=print= that accepts a
variable number of arguments and also provides keywords for specifying
the printed separators (sep) between the arguments and what should
be printed after the last argument (end).
\hrule
define-class
oo.slime:22:22
:macro
name-and-members:
body
Macro for creating simple classes.
\hrule
->
oo.slime:25:24
:macro
obj, meth:
args
none
\hrule
math->
:package
args
none
\hrule
math-> pi
math.slime:5:4
:number
3.141593
Tha famous circle constant.
\hrule
math-> abs
math.slime:9:4
:lambda
x
Accepts one argument and returns the absoulte value of it
\hrule
math-> sqrt
math.slime:13:4
:lambda
x
Accepts one argument and returns the square root of it
\hrule
math-> make-vector3
pre.slime:52:63
:constructor
x, y, z
This is the handle to an object of the class vector3
\hrule
math-> make-vector3 define-class
oo.slime:22:22
:macro
name-and-members:
body
Macro for creating simple classes.
\hrule
math-> make-vector3 ->
oo.slime:25:24
:macro
obj, meth:
args
none