binding

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: EUPL-1.2 Imports: 6 Imported by: 1

Documentation

Overview

Package binding contains builtins and syntax to bind values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LetS

func LetS(eng *eval.Engine, env sxpf.Environment, args *sxpf.List) (eval.Expr, error)

LetS parses the `(let (binding...) expr...)` syntax.`

Types

type LetExpr

type LetExpr struct {
	Symbols []*sxpf.Symbol
	Expr    []eval.Expr
	Front   []eval.Expr
	Last    eval.Expr
}

LetExpr stores everything for a (let ...) expression.

func (*LetExpr) Compute

func (le *LetExpr) Compute(eng *eval.Engine, env sxpf.Environment) (sxpf.Object, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL