Documentation ¶
Overview ¶
Package builtins contains functions that help to build builtin functions.
Index ¶
- func CheckArgs(args []sxpf.Object, minArgs, maxArgs int) error
- func GetCallable(err error, args []sxpf.Object, pos int) (eval.Callable, error)
- func GetEnvironment(err error, args []sxpf.Object, pos int) (sxpf.Environment, error)
- func GetList(err error, args []sxpf.Object, pos int) (*sxpf.List, error)
- func GetNumber(err error, args []sxpf.Object, pos int) (sxpf.Number, error)
- func GetPair(err error, args []sxpf.Object, pos int) (*sxpf.List, error)
- func GetSymbol(err error, args []sxpf.Object, pos int) (*sxpf.Symbol, error)
- func ParseExprSeq(eng *eval.Engine, env sxpf.Environment, args *sxpf.List) (front []eval.Expr, last eval.Expr, _ error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCallable ¶
GetCallable returns the given argument as a callable, and checks for errors.
func GetEnvironment ¶
GetEnvironment returns the given argument as an environment, and checks for errors.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package binding contains builtins and syntax to bind values.
|
Package binding contains builtins and syntax to bind values. |
Package boolean contains builtins and syntax for boolean values.
|
Package boolean contains builtins and syntax for boolean values. |
Package callable provides syntaxes and builtins to work with callables / functions / procedure.
|
Package callable provides syntaxes and builtins to work with callables / functions / procedure. |
Package cond provides some special/builtin functions to conditionally evaluate values.
|
Package cond provides some special/builtin functions to conditionally evaluate values. |
Package define contains all syntaxes and builtins to bind values to symbols.
|
Package define contains all syntaxes and builtins to bind values to symbols. |
Package env provides some special/builtin functions to work with environments.
|
Package env provides some special/builtin functions to work with environments. |
Package equiv contains function to test for equivalence of objects.
|
Package equiv contains function to test for equivalence of objects. |
Package list contains all list-related builtins
|
Package list contains all list-related builtins |
Package number contains builtins to work with numbers.
|
Package number contains builtins to work with numbers. |
Package pprint provides some function to pretty-print objects.
|
Package pprint provides some function to pretty-print objects. |
Package quote contains functions to use quotations These are: quote, quasiquote, unquote, unquote-splicing.
|
Package quote contains functions to use quotations These are: quote, quasiquote, unquote, unquote-splicing. |
Package timeit provides functions to measure evaluation.
|
Package timeit provides functions to measure evaluation. |
Click to show internal directories.
Click to hide internal directories.