Documentation ¶
Overview ¶
Package builtin provides the functions that serve as the bootstrapped routines for the system's runtime environment.
Index ¶
- Constants
- func Add(args ...data.Value) data.Value
- func Append(args ...data.Value) data.Value
- func Apply(args ...data.Value) data.Value
- func Args() data.Value
- func Car(args ...data.Value) data.Value
- func Cdr(args ...data.Value) data.Value
- func Chan(args ...data.Value) data.Value
- func Cons(args ...data.Value) data.Value
- func CurrentTime(_ ...data.Value) data.Value
- func Defer(args ...data.Value) (res data.Value)
- func Deque(args ...data.Value) data.Value
- func Div(args ...data.Value) data.Value
- func Env() data.Value
- func Eq(args ...data.Value) data.Value
- func First(args ...data.Value) data.Value
- func GenSym(args ...data.Value) data.Value
- func Get(args ...data.Value) data.Value
- func Go(args ...data.Value) data.Value
- func Gt(args ...data.Value) data.Value
- func Gte(args ...data.Value) data.Value
- func IsAppender(args ...data.Value) data.Value
- func IsApply(args ...data.Value) data.Value
- func IsAtom(args ...data.Value) data.Value
- func IsBoolean(args ...data.Value) data.Value
- func IsCons(args ...data.Value) data.Value
- func IsCounted(args ...data.Value) data.Value
- func IsDeque(args ...data.Value) data.Value
- func IsEmpty(args ...data.Value) data.Value
- func IsIdentical(args ...data.Value) data.Value
- func IsIndexed(args ...data.Value) data.Value
- func IsKeyword(args ...data.Value) data.Value
- func IsList(args ...data.Value) data.Value
- func IsLocal(args ...data.Value) data.Value
- func IsMacro(args ...data.Value) data.Value
- func IsMapped(args ...data.Value) data.Value
- func IsNaN(args ...data.Value) data.Value
- func IsNegInf(args ...data.Value) data.Value
- func IsNumber(args ...data.Value) data.Value
- func IsObject(args ...data.Value) data.Value
- func IsPair(args ...data.Value) data.Value
- func IsPosInf(args ...data.Value) data.Value
- func IsPromise(args ...data.Value) data.Value
- func IsQualified(args ...data.Value) data.Value
- func IsResolved(args ...data.Value) data.Value
- func IsReverser(args ...data.Value) data.Value
- func IsSeq(args ...data.Value) data.Value
- func IsSpecial(args ...data.Value) data.Value
- func IsString(args ...data.Value) data.Value
- func IsSymbol(args ...data.Value) data.Value
- func IsVector(args ...data.Value) data.Value
- func LazySequence(args ...data.Value) data.Value
- func Length(args ...data.Value) data.Value
- func List(args ...data.Value) data.Value
- func Lt(args ...data.Value) data.Value
- func Lte(args ...data.Value) data.Value
- func Macro(args ...data.Value) data.Value
- func MakeReader(r io.Reader, i stdlib.InputFunc) stdlib.Reader
- func MakeWriter(w io.Writer, o stdlib.OutputFunc) data.Object
- func Mod(args ...data.Value) data.Value
- func Mul(args ...data.Value) data.Value
- func Neq(args ...data.Value) data.Value
- func Nth(args ...data.Value) data.Value
- func Object(args ...data.Value) data.Value
- func Promise(args ...data.Value) data.Value
- func Raise(args ...data.Value) data.Value
- func Read(args ...data.Value) data.Value
- func ReaderStr(args ...data.Value) data.Value
- func Recover(args ...data.Value) (res data.Value)
- func Rest(args ...data.Value) data.Value
- func Reverse(args ...data.Value) data.Value
- func Str(args ...data.Value) data.Value
- func Sub(args ...data.Value) data.Value
- func Sym(args ...data.Value) data.Value
- func Vector(args ...data.Value) data.Value
Constants ¶
const ( // ChannelType is the type name for a channel ChannelType = data.String("channel") // EmitKey is the key used to emit to a Channel EmitKey = data.Keyword("emit") // SequenceKey is the key used to retrieve the Sequence from a Channel SequenceKey = data.Keyword("seq") )
const ( // WriterType is the type name for a writer WriterType = data.String("writer") // WriterKey is the key used to wrap a Writer WriterKey = data.Keyword("writer") // WriteKey is key used to write to a Writer WriteKey = data.Keyword("write") // CloseKey is the key used to close a file CloseKey = data.Keyword("close") )
const (
CallableRequired = "argument must be callable: %s"
)
Error messages
const (
IndexOutOfBounds = "index out of bounds"
)
Error messages
Variables ¶
This section is empty.
Functions ¶
func CurrentTime ¶
CurrentTime returns the current system time in nanoseconds
func IsAppender ¶
IsAppender returns whether or not the provided value is an appender
func IsIdentical ¶
IsIdentical returns whether or not the two values represent the same object
func IsQualified ¶
IsQualified returns whether or not the provided value is a qualified symbol
func IsResolved ¶
IsResolved returns whether or not the specified promise has been resolved
func IsReverser ¶
IsReverser returns whether or not the value is a reversible sequence
func LazySequence ¶
LazySequence treats a function as a lazy sequence
func MakeReader ¶
MakeReader wraps the go Reader with an input function
func MakeWriter ¶
MakeWriter wraps the go Writer with an output function
Types ¶
This section is empty.