1014 lines
25 KiB
TeX
1014 lines
25 KiB
TeX
% Created 2019-06-11 Di 00:15
|
|
% Intended LaTeX compiler: pdflatex
|
|
\documentclass[11pt]{article}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{fixltx2e}
|
|
\usepackage{graphicx}
|
|
\usepackage{grffile}
|
|
\usepackage{longtable}
|
|
\usepackage{wrapfig}
|
|
\usepackage{rotating}
|
|
\usepackage[normalem]{ulem}
|
|
\usepackage{amsmath}
|
|
\usepackage{textcomp}
|
|
\usepackage{amssymb}
|
|
\usepackage{capt-of}
|
|
\author{Felix Brendel}
|
|
\date{\today}
|
|
\title{}
|
|
\begin{document}
|
|
|
|
\tableofcontents
|
|
|
|
\section*{\texttt{=}}
|
|
\label{sec:org31e3235}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:158:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] Takes 0 or more arguments and returns \texttt{t} if all arguments are equal and \texttt{()} otherwise.
|
|
\end{description}
|
|
|
|
\section*{\texttt{>}}
|
|
\label{sec:org11b65ef}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:175:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{>=}}
|
|
\label{sec:org040fc2d}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:193:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{<}}
|
|
\label{sec:org495ac8d}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:211:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{<=}}
|
|
\label{sec:orgb3d6d87}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:231:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{+}}
|
|
\label{sec:org497d901}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:249:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{-}}
|
|
\label{sec:org04ab2bb}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:262:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{*}}
|
|
\label{sec:org42f3ed5}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:285:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{/}}
|
|
\label{sec:org60f7896}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:306:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{**}}
|
|
\label{sec:orgb860d63}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:327:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{\%}}
|
|
\label{sec:org7679821}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:343:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{assert}}
|
|
\label{sec:org81e23f7}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:359:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{define}}
|
|
\label{sec:org501614a}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:371:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{mutate}}
|
|
\label{sec:org6ba42c6}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:433:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{if}}
|
|
\label{sec:orga57c0cf}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:458:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{quote}}
|
|
\label{sec:org6ee47a1}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:480:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{quasiquote}}
|
|
\label{sec:org1573170}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:485:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{and}}
|
|
\label{sec:org9185975}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:583:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{or}}
|
|
\label{sec:org1e61c07}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:594:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{not}}
|
|
\label{sec:orgf60a5bd}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:605:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{while}}
|
|
\label{sec:orgfb64aca}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:615:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{lambda}}
|
|
\label{sec:orga60bbea}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:693:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{special-lambda}}
|
|
\label{sec:org3ea00e3}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:705:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{eval}}
|
|
\label{sec:orga586c08}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:713:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{begin}}
|
|
\label{sec:orgb188fed}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:725:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{list}}
|
|
\label{sec:org63b9132}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:741:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{pair}}
|
|
\label{sec:orge6d9e03}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:745:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{first}}
|
|
\label{sec:org6968e67}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:755:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{rest}}
|
|
\label{sec:org6f558af}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:766:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{set-type}}
|
|
\label{sec:org8ff89e6}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:777:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{delete-type}}
|
|
\label{sec:orgc4df119}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:789:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{type}}
|
|
\label{sec:orge39cac6}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:796:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{info}}
|
|
\label{sec:orgf3fb347}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:828:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{show}}
|
|
\label{sec:orgae18d02}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:910:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{addr-of}}
|
|
\label{sec:org09ce813}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:922:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{generate-docs}}
|
|
\label{sec:org055dade}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:928:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{print}}
|
|
\label{sec:org51e9ac8}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:937:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{read}}
|
|
\label{sec:org986a33f}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:945:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{exit}}
|
|
\label{sec:org3a6dddf}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:962:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{break}}
|
|
\label{sec:orga45e393}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:973:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{memstat}}
|
|
\label{sec:orgd8c6a3a}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:978:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{try}}
|
|
\label{sec:orgdf2db5f}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:982:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{load}}
|
|
\label{sec:org60ee1c1}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:997:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{import}}
|
|
\label{sec:org453c75e}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1008:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{copy}}
|
|
\label{sec:orgd64bce6}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1019:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{error}}
|
|
\label{sec:orgf6b91cf}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1027:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{symbol->keyword}}
|
|
\label{sec:org0a52c4e}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1034:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{string->symbol}}
|
|
\label{sec:org647cd24}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1043:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{symbol->string}}
|
|
\label{sec:org47e14d5}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1055:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{concat-strings}}
|
|
\label{sec:org8acbdc6}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{src/./built\_ins.cpp:1064:0}
|
|
\item[{type}] \texttt{:cfunction}
|
|
\item[{docu}] TODO
|
|
\end{description}
|
|
|
|
\section*{\texttt{pe}}
|
|
\label{sec:org9e78e87}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:2:40}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{expr}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{when}}
|
|
\label{sec:org1fd6509}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:8:37}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{condition}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] Doc String for `when'
|
|
\end{description}
|
|
|
|
\section*{\texttt{unless}}
|
|
\label{sec:org2bc243b}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:13:41}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{condition}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{n-times}}
|
|
\label{sec:org320901c}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:20:35}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{times}, \texttt{action}
|
|
\end{description}
|
|
\item[{docu}] Executes action times times.
|
|
\end{description}
|
|
|
|
\section*{\texttt{let}}
|
|
\label{sec:org211dd45}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:37:64}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{bindings}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{cond}}
|
|
\label{sec:orgd892c8c}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:51:19}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{rest}] \texttt{clauses}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{define-special}}
|
|
\label{sec:orgaf0a045}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:54:81}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{name-and-args}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{construct-list}}
|
|
\label{sec:orgf661769}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:94:14}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] (construct-list
|
|
i <- '(1 2 3 4 5)
|
|
yield (* i i))
|
|
|
|
(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)
|
|
\end{description}
|
|
|
|
\section*{\texttt{apply}}
|
|
\label{sec:org45b573a}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:99:28}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{fun}, \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] Applies the funciton to the sequence, as in calls the function with
|
|
ithe sequence as arguemens.
|
|
\end{description}
|
|
|
|
\section*{\texttt{define-package}}
|
|
\label{sec:org0069822}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:113:24}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{name}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{nil?}}
|
|
\label{sec:orgedf1fec}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is \texttt{nil}.
|
|
\end{description}
|
|
|
|
\section*{\texttt{number?}}
|
|
\label{sec:org2ecc887}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a number.
|
|
\end{description}
|
|
|
|
\section*{\texttt{symbol?}}
|
|
\label{sec:org8eb8eb1}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a symbol.
|
|
\end{description}
|
|
|
|
\section*{\texttt{keyword?}}
|
|
\label{sec:orga942423}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a keyword.
|
|
\end{description}
|
|
|
|
\section*{\texttt{pair?}}
|
|
\label{sec:org49fa45c}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a pair.
|
|
\end{description}
|
|
|
|
\section*{\texttt{string?}}
|
|
\label{sec:org1374465}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a string.
|
|
\end{description}
|
|
|
|
\section*{\texttt{lambda?}}
|
|
\label{sec:orge205cdc}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a function.
|
|
\end{description}
|
|
|
|
\section*{\texttt{macro?}}
|
|
\label{sec:org1a92381}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a macro.
|
|
\end{description}
|
|
|
|
\section*{\texttt{special-lambda?}}
|
|
\label{sec:org732b556}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a special-lambda.
|
|
\end{description}
|
|
|
|
\section*{\texttt{built-in-function?}}
|
|
\label{sec:org89e43c4}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Checks if the argument is a built-in function.
|
|
\end{description}
|
|
|
|
\section*{\texttt{callable?}}
|
|
\label{sec:org936a11d}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{end}}
|
|
\label{sec:orgc976460}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] Returns the last pair in the sqeuence.
|
|
\end{description}
|
|
|
|
\section*{\texttt{last}}
|
|
\label{sec:org82ec031}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] Returns the (first) of the last (pair) of the given sequence.
|
|
\end{description}
|
|
|
|
\section*{\texttt{extend}}
|
|
\label{sec:orga3701e7}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}, \texttt{elem}
|
|
\end{description}
|
|
\item[{docu}] Extends a list with the given element, by putting it in
|
|
the (rest) of the last element of the sequence.
|
|
\end{description}
|
|
|
|
\section*{\texttt{extend2}}
|
|
\label{sec:orgf83752c}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}, \texttt{elem}
|
|
\end{description}
|
|
\item[{docu}] Extends a list with the given element, by putting it in
|
|
the (rest) of the last element of the sequence.
|
|
\end{description}
|
|
|
|
\section*{\texttt{append}}
|
|
\label{sec:orgc6bb2db}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}, \texttt{elem}
|
|
\end{description}
|
|
\item[{docu}] Appends an element to a sequence, by extendeing the list
|
|
with (pair elem nil).
|
|
\end{description}
|
|
|
|
\section*{\texttt{length}}
|
|
\label{sec:orgfc5c7db}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] Returns the length of the given sequence.
|
|
\end{description}
|
|
|
|
\section*{\texttt{increment}}
|
|
\label{sec:org448fc7a}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{val}
|
|
\end{description}
|
|
\item[{docu}] Adds one to the argument.
|
|
\end{description}
|
|
|
|
\section*{\texttt{decrement}}
|
|
\label{sec:orga45beaf}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{val}
|
|
\end{description}
|
|
\item[{docu}] Subtracts one from the argument.
|
|
\end{description}
|
|
|
|
\section*{\texttt{range}}
|
|
\label{sec:org13c7545}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{keyword}] \texttt{from} \texttt{(0)}, \texttt{to}
|
|
\end{description}
|
|
\item[{docu}] Returns a sequence of numbers starting with the number defined by the
|
|
key \texttt{from} and ends with the number defined in \texttt{to}.
|
|
\end{description}
|
|
|
|
\section*{\texttt{range-while}}
|
|
\label{sec:org0c5cb36}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{keyword}] \texttt{from} \texttt{(0)}, \texttt{to}
|
|
\end{description}
|
|
\item[{docu}] Returns a sequence of numbers starting with the number defined
|
|
by the key 'from' and ends with the number defined in 'to'.
|
|
\end{description}
|
|
|
|
\section*{\texttt{map}}
|
|
\label{sec:orgacde49c}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{fun}, \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] 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.
|
|
\end{description}
|
|
|
|
\section*{\texttt{reduce}}
|
|
\label{sec:org22122b7}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{fun}, \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] 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 \hyperref[sec:org1b2823b]{\texttt{reduce-binary}}
|
|
instead.
|
|
\end{description}
|
|
|
|
\section*{\texttt{reduce-binary}}
|
|
\label{sec:org1b2823b}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{fun}, \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] 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 `reduce'.
|
|
\end{description}
|
|
|
|
\section*{\texttt{filter}}
|
|
\label{sec:orgb0f5f85}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{fun}, \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] 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.
|
|
\end{description}
|
|
|
|
\section*{\texttt{zip}}
|
|
\label{sec:org5c4e4ae}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{l1}, \texttt{l2}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{unzip}}
|
|
\label{sec:orgd648a84}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{lists}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{enumerate}}
|
|
\label{sec:org3a95198}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{seq}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{printf}}
|
|
\label{sec:orgf5d6005}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{keyword}] \texttt{sep} \texttt{(" ")}, \texttt{end} =("
|
|
\end{description}
|
|
\end{description}
|
|
")=:
|
|
\begin{description}
|
|
\item[{rest}] \texttt{args}
|
|
\end{description}
|
|
\begin{description}
|
|
\item[{docu}] A wrapper for the built-in (print) that accepts a variable number
|
|
of arguments and also provides keywords for specifying the printed
|
|
separators between the arguments and what should be printed after the
|
|
las argument.
|
|
\end{description}
|
|
|
|
\section*{\texttt{define-class}}
|
|
\label{sec:org8555bc8}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{oo.slime:22:22}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{name-and-members}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] Macro for creating simple classes.
|
|
\end{description}
|
|
|
|
\section*{\texttt{->}}
|
|
\label{sec:orga95c900}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{oo.slime:25:24}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{obj}, \texttt{meth}:
|
|
\item[{rest}] \texttt{args}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{math->}}
|
|
\label{sec:org91bd4f1}
|
|
\begin{description}
|
|
\item[{type}] \texttt{:package}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{rest}] \texttt{args}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> pi}}
|
|
\label{sec:org5df416d}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{math.slime:5:4}
|
|
\item[{type}] \texttt{:number}
|
|
\item[{value}] \texttt{3.141593}
|
|
\item[{docu}] Tha famous circle constant.
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> abs}}
|
|
\label{sec:orgeae475d}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{math.slime:9:4}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Accepts one argument and returns the absoulte value of it
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> sqrt}}
|
|
\label{sec:org85193e5}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{math.slime:13:4}
|
|
\item[{type}] \texttt{:lambda}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}
|
|
\end{description}
|
|
\item[{docu}] Accepts one argument and returns the square root of it
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> make-vector3}}
|
|
\label{sec:org5e39827}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{pre.slime:37:63}
|
|
\item[{type}] \texttt{:constructor}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{x}, \texttt{y}, \texttt{z}
|
|
\end{description}
|
|
\item[{docu}] This is the handle to an object of the class vector3
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> make-vector3 define-class}}
|
|
\label{sec:org8eebb62}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{oo.slime:22:22}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{name-and-members}:
|
|
\item[{rest}] \texttt{body}
|
|
\end{description}
|
|
\item[{docu}] Macro for creating simple classes.
|
|
\end{description}
|
|
|
|
\section*{\texttt{math-> make-vector3 ->}}
|
|
\label{sec:org139666d}
|
|
\begin{description}
|
|
\item[{defined in}] \texttt{oo.slime:25:24}
|
|
\item[{type}] \texttt{:macro}
|
|
\item[{arguments}] :
|
|
\begin{description}
|
|
\item[{postitional}] \texttt{obj}, \texttt{meth}:
|
|
\item[{rest}] \texttt{args}
|
|
\end{description}
|
|
\item[{docu}] none
|
|
\end{description}
|
|
\end{document} |