Primitive Functions

We give the list of primitive functions, here. It consists of numeric functions, boolean functions, string functions, and I/O functions. We don't describe precise behaviour of them, but give simply examples.


+
-
*
/
numerator
denominator
modulo
quotient
remainder
neg
abs
eq?
lt?
lte?
gt?
gte?
round
floor
ceiling
truncate
sqrt
exp
log
sin
cos
tan
asin
acos
atan
sinh
cosh
tanh
asinh
acosh
atanh
itof
rtof
pack
unpack
uncons-string
length-string
append-string
split-string
regex
regex-cg
read
show
empty?
uncons
unsnoc
bool?
integer?
rational?
char?
string?
tuple?
collection?
array?
hash?

Primitive Functions with a Side Effect

open-input-file
open-output-file
close-input-port
close-output-port
read-char
read-line
write-char
write-string
write
eof?
flush
read-char-from-port
read-line-from-port
write-char-to-port
write-string-to-port
write-to-port
eof-port?
flush-port
return
rand

What to do next...

Top of Manual Back to Home