runtime

package
v0.0.0-...-f82808e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value struct {
	Globals []cxr.Value
	Value   cxr.Value
}

func MkBool

func MkBool(b bool) *Value

func MkChar

func MkChar(c rune) *Value

func MkFloat

func MkFloat(f float64) *Value

func MkInt

func MkInt(i *big.Int) *Value

func MkInt64

func MkInt64(i int64) *Value

func MkList

func MkList(elems ...*Value) *Value

func MkRecord

func MkRecord(fields ...*Value) *Value

func MkString

func MkString(s string) *Value

func MkUnion

func MkUnion(alternative int, fields ...*Value) *Value

func (*Value) Alternative

func (v *Value) Alternative() int

func (*Value) Apply

func (v *Value) Apply(args ...*Value) *Value

func (*Value) Bool

func (v *Value) Bool() bool

func (*Value) Char

func (v *Value) Char() rune

func (*Value) Field

func (v *Value) Field(i int) *Value

func (*Value) Float

func (v *Value) Float() float64

func (*Value) Int

func (v *Value) Int() *big.Int

func (*Value) List

func (v *Value) List() []*Value

func (*Value) String

func (v *Value) String() string

Jump to

Keyboard shortcuts

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