Documentation ¶
Index ¶
- func BeginBlock(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func BindArithmetic(ctx *interp.Context)
- func BindCore(ctx *interp.Context)
- func BindDisplay(ctx *interp.Context)
- func BindMutative(ctx *interp.Context)
- func Cond(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Cons(ctx *interp.Context, form *skim.Cons) (cons skim.Atom, err error)
- func Display(c *interp.Context, v *skim.Cons) (_ skim.Atom, err error)
- func Div(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Expand(ctx *interp.Context, list *skim.Cons) (*skim.Cons, error)
- func Expanded(fn interp.Proc) interp.Proc
- func Let(ctx *interp.Context, form *skim.Cons) (skim.Atom, error)
- func LetStar(ctx *interp.Context, form *skim.Cons) (skim.Atom, error)
- func List(ctx *interp.Context, form *skim.Cons) (list skim.Atom, err error)
- func LogAnd(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func LogOr(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Mod(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Mul(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Newline(c *interp.Context, v *skim.Cons) (skim.Atom, error)
- func QuasiquoteFn(c *interp.Context, v *skim.Cons) (skim.Atom, error)
- func QuoteFn(c *interp.Context, v *skim.Cons) (skim.Atom, error)
- func SetQuoted(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func SetUnquoted(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Sub(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func Sum(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func UnbindQuoted(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func UnbindUnquoted(ctx *interp.Context, form *skim.Cons) (result skim.Atom, err error)
- func UnquoteFn(c *interp.Context, v *skim.Cons) (skim.Atom, error)
- type Lambda
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginBlock ¶
func BindArithmetic ¶
func BindDisplay ¶
func BindMutative ¶
func Expand ¶
Expand expands the values by evaluating each value in the scope of the interpreter context, ctx. It returns a new list with the expanded values.
This is a convenience function for skim.Map(list, ctx.Eval).
func Expanded ¶
Expanded returns a new Proc that will invoke fn with expanded values of its form when called. This is useful as a convenience when dealing with regular functions that do not receive anything other than normal arguments as a list. For special procs, such as let, let*, begin, cond, and, or (particulary for short-circuiting), and so on, more careful evaluation of its arguments is necessary.
func SetUnquoted ¶
func UnbindQuoted ¶
func UnbindUnquoted ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.