lang

package
v0.0.0-...-a0b8de0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotString = errors.New("value not a string")
	ErrNotFunc   = errors.New("value not a function")
	ErrNotList   = errors.New("value not a list")
)

Functions

func FuncValue

func FuncValue(v exprcore.Value, err error) (*exprcore.Function, error)

func ListValue

func ListValue(v exprcore.Value, err error) (*exprcore.List, error)

func StringValue

func StringValue(v exprcore.Value, err error) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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