scalar

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Overview

Code below generated from scalar_gen.go.tmpl

Index

Constants

This section is empty.

Variables

View Source
var ActualTrimSpace = StrActualFn(strings.TrimSpace)
View Source
var BigIntBin = BigIntFn(func(s BigInt) (BigInt, error) { s.DisplayFormat = NumberBinary; return s, nil })
View Source
var BigIntDec = BigIntFn(func(s BigInt) (BigInt, error) { s.DisplayFormat = NumberDecimal; return s, nil })
View Source
var BigIntHex = BigIntFn(func(s BigInt) (BigInt, error) { s.DisplayFormat = NumberHex; return s, nil })
View Source
var BigIntOct = BigIntFn(func(s BigInt) (BigInt, error) { s.DisplayFormat = NumberOctal; return s, nil })
View Source
var RawHex = BitBufFn(func(s BitBuf) (BitBuf, error) {
	return RawSym(s, -1, func(b []byte) string { return fmt.Sprintf("%x", b) })
})
View Source
var RawUUID = BitBufFn(func(s BitBuf) (BitBuf, error) {
	return RawSym(s, -1, func(b []byte) string {
		return fmt.Sprintf("%x-%x-%x-%x-%x", b[0:4], b[4:6], b[6:8], b[8:10], b[10:])
	})
})
View Source
var SintBin = SintFn(func(s Sint) (Sint, error) { s.DisplayFormat = NumberBinary; return s, nil })
View Source
var SintDec = SintFn(func(s Sint) (Sint, error) { s.DisplayFormat = NumberDecimal; return s, nil })
View Source
var SintHex = SintFn(func(s Sint) (Sint, error) { s.DisplayFormat = NumberHex; return s, nil })
View Source
var SintOct = SintFn(func(s Sint) (Sint, error) { s.DisplayFormat = NumberOctal; return s, nil })
View Source
var UintBin = UintFn(func(s Uint) (Uint, error) { s.DisplayFormat = NumberBinary; return s, nil })
View Source
var UintDec = UintFn(func(s Uint) (Uint, error) { s.DisplayFormat = NumberDecimal; return s, nil })
View Source
var UintHex = UintFn(func(s Uint) (Uint, error) { s.DisplayFormat = NumberHex; return s, nil })
View Source
var UintOct = UintFn(func(s Uint) (Uint, error) { s.DisplayFormat = NumberOctal; return s, nil })

Functions

This section is empty.

Types

type Any added in v0.2.0

type Any struct {
	Sym         any
	Description string
	Gap         bool
	Actual      any
}

Type Any does not use embedding for common fields as it works poorly with struct literals

func (Any) ScalarActual added in v0.2.0

func (s Any) ScalarActual() any

interp.Scalarable

func (Any) ScalarDescription added in v0.2.0

func (s Any) ScalarDescription() string

func (Any) ScalarDisplayFormat added in v0.2.0

func (s Any) ScalarDisplayFormat() DisplayFormat

func (Any) ScalarIsGap added in v0.6.0

func (s Any) ScalarIsGap() bool

func (Any) ScalarSym added in v0.2.0

func (s Any) ScalarSym() any

func (Any) ScalarValue added in v0.2.0

func (s Any) ScalarValue() any

func (Any) SymAny added in v0.2.0

func (s Any) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Any) SymBigInt added in v0.2.0

func (s Any) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Any) SymBitBuf added in v0.2.0

func (s Any) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Any) SymBool added in v0.2.0

func (s Any) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Any) SymFlt added in v0.2.0

func (s Any) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Any) SymSint added in v0.2.0

func (s Any) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Any) SymStr added in v0.2.0

func (s Any) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Any) SymUint added in v0.2.0

func (s Any) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Any) TrySymAny added in v0.2.0

func (s Any) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Any) TrySymBigInt added in v0.2.0

func (s Any) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Any) TrySymBitBuf added in v0.2.0

func (s Any) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Any) TrySymBool added in v0.2.0

func (s Any) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Any) TrySymFlt added in v0.2.0

func (s Any) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Any) TrySymSint added in v0.2.0

func (s Any) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Any) TrySymStr added in v0.2.0

func (s Any) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Any) TrySymUint added in v0.2.0

func (s Any) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type AnyActualFn added in v0.2.0

type AnyActualFn func(a any) any

AnyActualFn map actual Any using f

func (AnyActualFn) MapAny added in v0.2.0

func (fn AnyActualFn) MapAny(s Any) (Any, error)

TODO: error?

type AnyDescriptionFn added in v0.2.0

type AnyDescriptionFn func(a string) string

AnyDescriptionFn map sym Any using f

func (AnyDescriptionFn) MapAny added in v0.2.0

func (f AnyDescriptionFn) MapAny(s Any) (Any, error)

type AnyFn added in v0.2.0

type AnyFn func(s Any) (Any, error)

AnyFn map actual Any using f

func (AnyFn) MapAny added in v0.2.0

func (fn AnyFn) MapAny(s Any) (Any, error)

type AnyMapper added in v0.2.0

type AnyMapper interface {
	MapAny(Any) (Any, error)
}

func AnyActual added in v0.2.0

func AnyActual(v any) AnyMapper

func AnyDescription added in v0.2.0

func AnyDescription(v string) AnyMapper

func AnySym added in v0.2.0

func AnySym(v any) AnyMapper

type AnySymFn added in v0.2.0

type AnySymFn func(a any) any

AnySymFn map sym Any using f

func (AnySymFn) MapAny added in v0.2.0

func (f AnySymFn) MapAny(s Any) (Any, error)

type BigInt added in v0.2.0

type BigInt struct {
	Sym           any
	Description   string
	Gap           bool
	Actual        *big.Int
	DisplayFormat DisplayFormat
}

Type BigInt does not use embedding for common fields as it works poorly with struct literals

func (BigInt) ScalarActual added in v0.2.0

func (s BigInt) ScalarActual() any

interp.Scalarable

func (BigInt) ScalarDescription added in v0.2.0

func (s BigInt) ScalarDescription() string

func (BigInt) ScalarDisplayFormat added in v0.2.0

func (s BigInt) ScalarDisplayFormat() DisplayFormat

func (BigInt) ScalarIsGap added in v0.6.0

func (s BigInt) ScalarIsGap() bool

func (BigInt) ScalarSym added in v0.2.0

func (s BigInt) ScalarSym() any

func (BigInt) ScalarValue added in v0.2.0

func (s BigInt) ScalarValue() any

func (BigInt) SymAny added in v0.2.0

func (s BigInt) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (BigInt) SymBigInt added in v0.2.0

func (s BigInt) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (BigInt) SymBitBuf added in v0.2.0

func (s BigInt) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (BigInt) SymBool added in v0.2.0

func (s BigInt) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (BigInt) SymFlt added in v0.2.0

func (s BigInt) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (BigInt) SymSint added in v0.2.0

func (s BigInt) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (BigInt) SymStr added in v0.2.0

func (s BigInt) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (BigInt) SymUint added in v0.2.0

func (s BigInt) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (BigInt) TrySymAny added in v0.2.0

func (s BigInt) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (BigInt) TrySymBigInt added in v0.2.0

func (s BigInt) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (BigInt) TrySymBitBuf added in v0.2.0

func (s BigInt) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (BigInt) TrySymBool added in v0.2.0

func (s BigInt) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (BigInt) TrySymFlt added in v0.2.0

func (s BigInt) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (BigInt) TrySymSint added in v0.2.0

func (s BigInt) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (BigInt) TrySymStr added in v0.2.0

func (s BigInt) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (BigInt) TrySymUint added in v0.2.0

func (s BigInt) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type BigIntActualFn added in v0.2.0

type BigIntActualFn func(a *big.Int) *big.Int

BigIntActualFn map actual BigInt using f

func (BigIntActualFn) MapBigInt added in v0.2.0

func (fn BigIntActualFn) MapBigInt(s BigInt) (BigInt, error)

TODO: error?

type BigIntDescriptionFn added in v0.2.0

type BigIntDescriptionFn func(a string) string

BigIntDescriptionFn map sym BigInt using f

func (BigIntDescriptionFn) MapBigInt added in v0.2.0

func (f BigIntDescriptionFn) MapBigInt(s BigInt) (BigInt, error)

type BigIntFn added in v0.2.0

type BigIntFn func(s BigInt) (BigInt, error)

BigIntFn map actual BigInt using f

func (BigIntFn) MapBigInt added in v0.2.0

func (fn BigIntFn) MapBigInt(s BigInt) (BigInt, error)

type BigIntMapper added in v0.2.0

type BigIntMapper interface {
	MapBigInt(BigInt) (BigInt, error)
}

func BigIntActual added in v0.2.0

func BigIntActual(v *big.Int) BigIntMapper

func BigIntDescription added in v0.2.0

func BigIntDescription(v string) BigIntMapper

func BigIntSym added in v0.2.0

func BigIntSym(v any) BigIntMapper

type BigIntSymFn added in v0.2.0

type BigIntSymFn func(a any) any

BigIntSymFn map sym BigInt using f

func (BigIntSymFn) MapBigInt added in v0.2.0

func (f BigIntSymFn) MapBigInt(s BigInt) (BigInt, error)

type BitBuf added in v0.2.0

type BitBuf struct {
	Sym         any
	Description string
	Gap         bool
	Actual      bitio.ReaderAtSeeker
}

Type BitBuf does not use embedding for common fields as it works poorly with struct literals

func RawSym

func RawSym(s BitBuf, nBytes int, fn func(b []byte) string) (BitBuf, error)

func (BitBuf) ScalarActual added in v0.2.0

func (s BitBuf) ScalarActual() any

interp.Scalarable

func (BitBuf) ScalarDescription added in v0.2.0

func (s BitBuf) ScalarDescription() string

func (BitBuf) ScalarDisplayFormat added in v0.2.0

func (s BitBuf) ScalarDisplayFormat() DisplayFormat

func (BitBuf) ScalarIsGap added in v0.6.0

func (s BitBuf) ScalarIsGap() bool

func (BitBuf) ScalarSym added in v0.2.0

func (s BitBuf) ScalarSym() any

func (BitBuf) ScalarValue added in v0.2.0

func (s BitBuf) ScalarValue() any

func (BitBuf) SymAny added in v0.2.0

func (s BitBuf) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (BitBuf) SymBigInt added in v0.2.0

func (s BitBuf) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (BitBuf) SymBitBuf added in v0.2.0

func (s BitBuf) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (BitBuf) SymBool added in v0.2.0

func (s BitBuf) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (BitBuf) SymFlt added in v0.2.0

func (s BitBuf) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (BitBuf) SymSint added in v0.2.0

func (s BitBuf) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (BitBuf) SymStr added in v0.2.0

func (s BitBuf) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (BitBuf) SymUint added in v0.2.0

func (s BitBuf) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (BitBuf) TrySymAny added in v0.2.0

func (s BitBuf) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (BitBuf) TrySymBigInt added in v0.2.0

func (s BitBuf) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (BitBuf) TrySymBitBuf added in v0.2.0

func (s BitBuf) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (BitBuf) TrySymBool added in v0.2.0

func (s BitBuf) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (BitBuf) TrySymFlt added in v0.2.0

func (s BitBuf) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (BitBuf) TrySymSint added in v0.2.0

func (s BitBuf) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (BitBuf) TrySymStr added in v0.2.0

func (s BitBuf) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (BitBuf) TrySymUint added in v0.2.0

func (s BitBuf) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type BitBufActualFn added in v0.2.0

type BitBufActualFn func(a bitio.ReaderAtSeeker) bitio.ReaderAtSeeker

BitBufActualFn map actual BitBuf using f

func (BitBufActualFn) MapBitBuf added in v0.2.0

func (fn BitBufActualFn) MapBitBuf(s BitBuf) (BitBuf, error)

TODO: error?

type BitBufDescriptionFn added in v0.2.0

type BitBufDescriptionFn func(a string) string

BitBufDescriptionFn map sym BitBuf using f

func (BitBufDescriptionFn) MapBitBuf added in v0.2.0

func (f BitBufDescriptionFn) MapBitBuf(s BitBuf) (BitBuf, error)

type BitBufFn added in v0.2.0

type BitBufFn func(s BitBuf) (BitBuf, error)

BitBufFn map actual BitBuf using f

func (BitBufFn) MapBitBuf added in v0.2.0

func (fn BitBufFn) MapBitBuf(s BitBuf) (BitBuf, error)

type BitBufMapper added in v0.2.0

type BitBufMapper interface {
	MapBitBuf(BitBuf) (BitBuf, error)
}

func BitBufActual added in v0.2.0

func BitBufActual(v bitio.ReaderAtSeeker) BitBufMapper

func BitBufDescription added in v0.2.0

func BitBufDescription(v string) BitBufMapper

func BitBufSym added in v0.2.0

func BitBufSym(v any) BitBufMapper

type BitBufSymFn added in v0.2.0

type BitBufSymFn func(a any) any

BitBufSymFn map sym BitBuf using f

func (BitBufSymFn) MapBitBuf added in v0.2.0

func (f BitBufSymFn) MapBitBuf(s BitBuf) (BitBuf, error)

type Bool added in v0.2.0

type Bool struct {
	Sym         any
	Description string
	Gap         bool
	Actual      bool
}

Type Bool does not use embedding for common fields as it works poorly with struct literals

func (Bool) ScalarActual added in v0.2.0

func (s Bool) ScalarActual() any

interp.Scalarable

func (Bool) ScalarDescription added in v0.2.0

func (s Bool) ScalarDescription() string

func (Bool) ScalarDisplayFormat added in v0.2.0

func (s Bool) ScalarDisplayFormat() DisplayFormat

func (Bool) ScalarIsGap added in v0.6.0

func (s Bool) ScalarIsGap() bool

func (Bool) ScalarSym added in v0.2.0

func (s Bool) ScalarSym() any

func (Bool) ScalarValue added in v0.2.0

func (s Bool) ScalarValue() any

func (Bool) SymAny added in v0.2.0

func (s Bool) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Bool) SymBigInt added in v0.2.0

func (s Bool) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Bool) SymBitBuf added in v0.2.0

func (s Bool) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Bool) SymBool added in v0.2.0

func (s Bool) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Bool) SymFlt added in v0.2.0

func (s Bool) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Bool) SymSint added in v0.2.0

func (s Bool) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Bool) SymStr added in v0.2.0

func (s Bool) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Bool) SymUint added in v0.2.0

func (s Bool) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Bool) TrySymAny added in v0.2.0

func (s Bool) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Bool) TrySymBigInt added in v0.2.0

func (s Bool) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Bool) TrySymBitBuf added in v0.2.0

func (s Bool) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Bool) TrySymBool added in v0.2.0

func (s Bool) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Bool) TrySymFlt added in v0.2.0

func (s Bool) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Bool) TrySymSint added in v0.2.0

func (s Bool) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Bool) TrySymStr added in v0.2.0

func (s Bool) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Bool) TrySymUint added in v0.2.0

func (s Bool) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type BoolActualFn added in v0.2.0

type BoolActualFn func(a bool) bool

BoolActualFn map actual Bool using f

func (BoolActualFn) MapBool added in v0.2.0

func (fn BoolActualFn) MapBool(s Bool) (Bool, error)

TODO: error?

type BoolDescriptionFn added in v0.2.0

type BoolDescriptionFn func(a string) string

BoolDescriptionFn map sym Bool using f

func (BoolDescriptionFn) MapBool added in v0.2.0

func (f BoolDescriptionFn) MapBool(s Bool) (Bool, error)

type BoolFn added in v0.2.0

type BoolFn func(s Bool) (Bool, error)

BoolFn map actual Bool using f

func (BoolFn) MapBool added in v0.2.0

func (fn BoolFn) MapBool(s Bool) (Bool, error)

type BoolMap added in v0.2.0

type BoolMap map[bool]Bool

Map Bool

func (BoolMap) MapBool added in v0.2.0

func (m BoolMap) MapBool(s Bool) (Bool, error)

type BoolMapDescription added in v0.2.0

type BoolMapDescription map[bool]string

Map Bool description

func (BoolMapDescription) MapBool added in v0.2.0

func (m BoolMapDescription) MapBool(s Bool) (Bool, error)

type BoolMapSymBool added in v0.2.0

type BoolMapSymBool map[bool]bool

Map Bool sym Bool

func (BoolMapSymBool) MapBool added in v0.2.0

func (m BoolMapSymBool) MapBool(s Bool) (Bool, error)

type BoolMapSymFlt added in v0.2.0

type BoolMapSymFlt map[bool]float64

Map Bool sym Flt

func (BoolMapSymFlt) MapBool added in v0.2.0

func (m BoolMapSymFlt) MapBool(s Bool) (Bool, error)

type BoolMapSymSint added in v0.2.0

type BoolMapSymSint map[bool]int64

Map Bool sym Sint

func (BoolMapSymSint) MapBool added in v0.2.0

func (m BoolMapSymSint) MapBool(s Bool) (Bool, error)

type BoolMapSymStr added in v0.2.0

type BoolMapSymStr map[bool]string

Map Bool sym Str

func (BoolMapSymStr) MapBool added in v0.2.0

func (m BoolMapSymStr) MapBool(s Bool) (Bool, error)

type BoolMapSymUint added in v0.2.0

type BoolMapSymUint map[bool]uint64

Map Bool sym Uint

func (BoolMapSymUint) MapBool added in v0.2.0

func (m BoolMapSymUint) MapBool(s Bool) (Bool, error)

type BoolMapper added in v0.2.0

type BoolMapper interface {
	MapBool(Bool) (Bool, error)
}

func BoolActual added in v0.2.0

func BoolActual(v bool) BoolMapper

func BoolDescription added in v0.2.0

func BoolDescription(v string) BoolMapper

func BoolSym added in v0.2.0

func BoolSym(v any) BoolMapper

type BoolSymFn added in v0.2.0

type BoolSymFn func(a any) any

BoolSymFn map sym Bool using f

func (BoolSymFn) MapBool added in v0.2.0

func (f BoolSymFn) MapBool(s Bool) (Bool, error)

type DisplayFormat

type DisplayFormat int
const (
	NumberDecimal DisplayFormat = iota
	NumberBinary
	NumberOctal
	NumberHex
)

func (DisplayFormat) FormatBase

func (df DisplayFormat) FormatBase() int

type Flt added in v0.2.0

type Flt struct {
	Sym         any
	Description string
	Gap         bool
	Actual      float64
}

Type Flt does not use embedding for common fields as it works poorly with struct literals

func (Flt) ScalarActual added in v0.2.0

func (s Flt) ScalarActual() any

interp.Scalarable

func (Flt) ScalarDescription added in v0.2.0

func (s Flt) ScalarDescription() string

func (Flt) ScalarDisplayFormat added in v0.2.0

func (s Flt) ScalarDisplayFormat() DisplayFormat

func (Flt) ScalarIsGap added in v0.6.0

func (s Flt) ScalarIsGap() bool

func (Flt) ScalarSym added in v0.2.0

func (s Flt) ScalarSym() any

func (Flt) ScalarValue added in v0.2.0

func (s Flt) ScalarValue() any

func (Flt) SymAny added in v0.2.0

func (s Flt) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Flt) SymBigInt added in v0.2.0

func (s Flt) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Flt) SymBitBuf added in v0.2.0

func (s Flt) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Flt) SymBool added in v0.2.0

func (s Flt) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Flt) SymFlt added in v0.2.0

func (s Flt) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Flt) SymSint added in v0.2.0

func (s Flt) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Flt) SymStr added in v0.2.0

func (s Flt) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Flt) SymUint added in v0.2.0

func (s Flt) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Flt) TrySymAny added in v0.2.0

func (s Flt) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Flt) TrySymBigInt added in v0.2.0

func (s Flt) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Flt) TrySymBitBuf added in v0.2.0

func (s Flt) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Flt) TrySymBool added in v0.2.0

func (s Flt) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Flt) TrySymFlt added in v0.2.0

func (s Flt) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Flt) TrySymSint added in v0.2.0

func (s Flt) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Flt) TrySymStr added in v0.2.0

func (s Flt) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Flt) TrySymUint added in v0.2.0

func (s Flt) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type FltActualFn added in v0.2.0

type FltActualFn func(a float64) float64

FltActualFn map actual Flt using f

func (FltActualFn) MapFlt added in v0.2.0

func (fn FltActualFn) MapFlt(s Flt) (Flt, error)

TODO: error?

type FltDescriptionFn added in v0.2.0

type FltDescriptionFn func(a string) string

FltDescriptionFn map sym Flt using f

func (FltDescriptionFn) MapFlt added in v0.2.0

func (f FltDescriptionFn) MapFlt(s Flt) (Flt, error)

type FltFn added in v0.2.0

type FltFn func(s Flt) (Flt, error)

FltFn map actual Flt using f

func FltActualDate added in v0.2.0

func FltActualDate(epoch time.Time, format string) FltFn

func FltActualUnixTime added in v0.2.0

func FltActualUnixTime(format string) FltFn

func (FltFn) MapFlt added in v0.2.0

func (fn FltFn) MapFlt(s Flt) (Flt, error)

type FltMapper added in v0.2.0

type FltMapper interface {
	MapFlt(Flt) (Flt, error)
}

func FltActual added in v0.2.0

func FltActual(v float64) FltMapper

func FltDescription added in v0.2.0

func FltDescription(v string) FltMapper

func FltSym added in v0.2.0

func FltSym(v any) FltMapper

type FltSymFn added in v0.2.0

type FltSymFn func(a any) any

FltSymFn map sym Flt using f

func (FltSymFn) MapFlt added in v0.2.0

func (f FltSymFn) MapFlt(s Flt) (Flt, error)

type RawBytesMap added in v0.2.0

type RawBytesMap []struct {
	Bytes  []byte
	Scalar BitBuf
}

func (RawBytesMap) MapBitBuf added in v0.2.0

func (m RawBytesMap) MapBitBuf(s BitBuf) (BitBuf, error)

type SRangeEntry added in v0.0.3

type SRangeEntry struct {
	Range [2]int64
	S     Sint
}

SRangeToScalar maps ranges to a scalar, first in range is chosen

type SRangeToScalar

type SRangeToScalar []SRangeEntry

SRangeToScalar maps sint64 ranges to a scalar, first in range is chosen

func (SRangeToScalar) MapSint added in v0.2.0

func (rs SRangeToScalar) MapSint(s Sint) (Sint, error)

type Sint added in v0.2.0

type Sint struct {
	Sym           any
	Description   string
	Gap           bool
	Actual        int64
	DisplayFormat DisplayFormat
}

Type Sint does not use embedding for common fields as it works poorly with struct literals

func (Sint) ScalarActual added in v0.2.0

func (s Sint) ScalarActual() any

interp.Scalarable

func (Sint) ScalarDescription added in v0.2.0

func (s Sint) ScalarDescription() string

func (Sint) ScalarDisplayFormat added in v0.2.0

func (s Sint) ScalarDisplayFormat() DisplayFormat

func (Sint) ScalarIsGap added in v0.6.0

func (s Sint) ScalarIsGap() bool

func (Sint) ScalarSym added in v0.2.0

func (s Sint) ScalarSym() any

func (Sint) ScalarValue added in v0.2.0

func (s Sint) ScalarValue() any

func (Sint) SymAny added in v0.2.0

func (s Sint) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Sint) SymBigInt added in v0.2.0

func (s Sint) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Sint) SymBitBuf added in v0.2.0

func (s Sint) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Sint) SymBool added in v0.2.0

func (s Sint) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Sint) SymFlt added in v0.2.0

func (s Sint) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Sint) SymSint added in v0.2.0

func (s Sint) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Sint) SymStr added in v0.2.0

func (s Sint) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Sint) SymUint added in v0.2.0

func (s Sint) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Sint) TrySymAny added in v0.2.0

func (s Sint) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Sint) TrySymBigInt added in v0.2.0

func (s Sint) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Sint) TrySymBitBuf added in v0.2.0

func (s Sint) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Sint) TrySymBool added in v0.2.0

func (s Sint) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Sint) TrySymFlt added in v0.2.0

func (s Sint) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Sint) TrySymSint added in v0.2.0

func (s Sint) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Sint) TrySymStr added in v0.2.0

func (s Sint) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Sint) TrySymUint added in v0.2.0

func (s Sint) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type SintActualFn added in v0.2.0

type SintActualFn func(a int64) int64

SintActualFn map actual Sint using f

func SintActualAdd added in v0.2.0

func SintActualAdd(n int) SintActualFn

func (SintActualFn) MapSint added in v0.2.0

func (fn SintActualFn) MapSint(s Sint) (Sint, error)

TODO: error?

type SintDescriptionFn added in v0.2.0

type SintDescriptionFn func(a string) string

SintDescriptionFn map sym Sint using f

func (SintDescriptionFn) MapSint added in v0.2.0

func (f SintDescriptionFn) MapSint(s Sint) (Sint, error)

type SintFn added in v0.2.0

type SintFn func(s Sint) (Sint, error)

SintFn map actual Sint using f

func (SintFn) MapSint added in v0.2.0

func (fn SintFn) MapSint(s Sint) (Sint, error)

type SintMap added in v0.2.0

type SintMap map[int64]Sint

Map Sint

func (SintMap) MapSint added in v0.2.0

func (m SintMap) MapSint(s Sint) (Sint, error)

type SintMapDescription added in v0.2.0

type SintMapDescription map[int64]string

Map Sint description

func (SintMapDescription) MapSint added in v0.2.0

func (m SintMapDescription) MapSint(s Sint) (Sint, error)

type SintMapSymBool added in v0.2.0

type SintMapSymBool map[int64]bool

Map Sint sym Bool

func (SintMapSymBool) MapSint added in v0.2.0

func (m SintMapSymBool) MapSint(s Sint) (Sint, error)

type SintMapSymFlt added in v0.2.0

type SintMapSymFlt map[int64]float64

Map Sint sym Flt

func (SintMapSymFlt) MapSint added in v0.2.0

func (m SintMapSymFlt) MapSint(s Sint) (Sint, error)

type SintMapSymSint added in v0.2.0

type SintMapSymSint map[int64]int64

Map Sint sym Sint

func (SintMapSymSint) MapSint added in v0.2.0

func (m SintMapSymSint) MapSint(s Sint) (Sint, error)

type SintMapSymStr added in v0.2.0

type SintMapSymStr map[int64]string

Map Sint sym Str

func (SintMapSymStr) MapSint added in v0.2.0

func (m SintMapSymStr) MapSint(s Sint) (Sint, error)

type SintMapSymUint added in v0.2.0

type SintMapSymUint map[int64]uint64

Map Sint sym Uint

func (SintMapSymUint) MapSint added in v0.2.0

func (m SintMapSymUint) MapSint(s Sint) (Sint, error)

type SintMapper added in v0.2.0

type SintMapper interface {
	MapSint(Sint) (Sint, error)
}

func SintActual added in v0.2.0

func SintActual(v int64) SintMapper

func SintDescription added in v0.2.0

func SintDescription(v string) SintMapper

func SintSym added in v0.2.0

func SintSym(v any) SintMapper

type SintSymFn added in v0.2.0

type SintSymFn func(a any) any

SintSymFn map sym Sint using f

func (SintSymFn) MapSint added in v0.2.0

func (f SintSymFn) MapSint(s Sint) (Sint, error)

type Str added in v0.2.0

type Str struct {
	Sym         any
	Description string
	Gap         bool
	Actual      string
}

Type Str does not use embedding for common fields as it works poorly with struct literals

func (Str) ScalarActual added in v0.2.0

func (s Str) ScalarActual() any

interp.Scalarable

func (Str) ScalarDescription added in v0.2.0

func (s Str) ScalarDescription() string

func (Str) ScalarDisplayFormat added in v0.2.0

func (s Str) ScalarDisplayFormat() DisplayFormat

func (Str) ScalarIsGap added in v0.6.0

func (s Str) ScalarIsGap() bool

func (Str) ScalarSym added in v0.2.0

func (s Str) ScalarSym() any

func (Str) ScalarValue added in v0.2.0

func (s Str) ScalarValue() any

func (Str) SymAny added in v0.2.0

func (s Str) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Str) SymBigInt added in v0.2.0

func (s Str) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Str) SymBitBuf added in v0.2.0

func (s Str) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Str) SymBool added in v0.2.0

func (s Str) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Str) SymFlt added in v0.2.0

func (s Str) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Str) SymSint added in v0.2.0

func (s Str) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Str) SymStr added in v0.2.0

func (s Str) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Str) SymUint added in v0.2.0

func (s Str) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Str) TrySymAny added in v0.2.0

func (s Str) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Str) TrySymBigInt added in v0.2.0

func (s Str) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Str) TrySymBitBuf added in v0.2.0

func (s Str) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Str) TrySymBool added in v0.2.0

func (s Str) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Str) TrySymFlt added in v0.2.0

func (s Str) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Str) TrySymSint added in v0.2.0

func (s Str) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Str) TrySymStr added in v0.2.0

func (s Str) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Str) TrySymUint added in v0.2.0

func (s Str) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type StrActualFn added in v0.2.0

type StrActualFn func(a string) string

StrActualFn map actual Str using f

func StrActualTrim added in v0.2.0

func StrActualTrim(cutset string) StrActualFn

func (StrActualFn) MapStr added in v0.2.0

func (fn StrActualFn) MapStr(s Str) (Str, error)

TODO: error?

type StrDescriptionFn added in v0.2.0

type StrDescriptionFn func(a string) string

StrDescriptionFn map sym Str using f

func (StrDescriptionFn) MapStr added in v0.2.0

func (f StrDescriptionFn) MapStr(s Str) (Str, error)

type StrFn added in v0.2.0

type StrFn func(s Str) (Str, error)

StrFn map actual Str using f

func (StrFn) MapStr added in v0.2.0

func (fn StrFn) MapStr(s Str) (Str, error)

type StrMap added in v0.2.0

type StrMap map[string]Str

Map Str

func (StrMap) MapStr added in v0.2.0

func (m StrMap) MapStr(s Str) (Str, error)

type StrMapDescription added in v0.2.0

type StrMapDescription map[string]string

Map Str description

func (StrMapDescription) MapStr added in v0.2.0

func (m StrMapDescription) MapStr(s Str) (Str, error)

type StrMapSymBool added in v0.2.0

type StrMapSymBool map[string]bool

Map Str sym Bool

func (StrMapSymBool) MapStr added in v0.2.0

func (m StrMapSymBool) MapStr(s Str) (Str, error)

type StrMapSymFlt added in v0.2.0

type StrMapSymFlt map[string]float64

Map Str sym Flt

func (StrMapSymFlt) MapStr added in v0.2.0

func (m StrMapSymFlt) MapStr(s Str) (Str, error)

type StrMapSymSint added in v0.2.0

type StrMapSymSint map[string]int64

Map Str sym Sint

func (StrMapSymSint) MapStr added in v0.2.0

func (m StrMapSymSint) MapStr(s Str) (Str, error)

type StrMapSymStr added in v0.2.0

type StrMapSymStr map[string]string

Map Str sym Str

func (StrMapSymStr) MapStr added in v0.2.0

func (m StrMapSymStr) MapStr(s Str) (Str, error)

type StrMapSymUint added in v0.2.0

type StrMapSymUint map[string]uint64

Map Str sym Uint

func (StrMapSymUint) MapStr added in v0.2.0

func (m StrMapSymUint) MapStr(s Str) (Str, error)

type StrMapper added in v0.2.0

type StrMapper interface {
	MapStr(Str) (Str, error)
}

func StrActual added in v0.2.0

func StrActual(v string) StrMapper

func StrDescription added in v0.2.0

func StrDescription(v string) StrMapper

func StrSym added in v0.2.0

func StrSym(v any) StrMapper

func StrSymParseFloat added in v0.2.0

func StrSymParseFloat(base int) StrMapper

func StrSymParseInt added in v0.2.0

func StrSymParseInt(base int) StrMapper

func StrSymParseUint added in v0.2.0

func StrSymParseUint(base int) StrMapper

func TryStrSymParseFloat added in v0.2.0

func TryStrSymParseFloat(base int) StrMapper

func TryStrSymParseInt added in v0.2.0

func TryStrSymParseInt(base int) StrMapper

func TryStrSymParseUint added in v0.2.0

func TryStrSymParseUint(base int) StrMapper

type StrSymFn added in v0.2.0

type StrSymFn func(a any) any

StrSymFn map sym Str using f

func (StrSymFn) MapStr added in v0.2.0

func (f StrSymFn) MapStr(s Str) (Str, error)

type URangeEntry added in v0.0.3

type URangeEntry struct {
	Range [2]uint64
	S     Uint
}

type Uint added in v0.2.0

type Uint struct {
	Sym           any
	Description   string
	Gap           bool
	Actual        uint64
	DisplayFormat DisplayFormat
}

Type Uint does not use embedding for common fields as it works poorly with struct literals

func (Uint) ScalarActual added in v0.2.0

func (s Uint) ScalarActual() any

interp.Scalarable

func (Uint) ScalarDescription added in v0.2.0

func (s Uint) ScalarDescription() string

func (Uint) ScalarDisplayFormat added in v0.2.0

func (s Uint) ScalarDisplayFormat() DisplayFormat

func (Uint) ScalarIsGap added in v0.6.0

func (s Uint) ScalarIsGap() bool

func (Uint) ScalarSym added in v0.2.0

func (s Uint) ScalarSym() any

func (Uint) ScalarValue added in v0.2.0

func (s Uint) ScalarValue() any

func (Uint) SymAny added in v0.2.0

func (s Uint) SymAny() any

SymAny asserts symbolic value is a Any and returns it

func (Uint) SymBigInt added in v0.2.0

func (s Uint) SymBigInt() *big.Int

SymBigInt asserts symbolic value is a BigInt and returns it

func (Uint) SymBitBuf added in v0.2.0

func (s Uint) SymBitBuf() bitio.ReaderAtSeeker

SymBitBuf asserts symbolic value is a BitBuf and returns it

func (Uint) SymBool added in v0.2.0

func (s Uint) SymBool() bool

SymBool asserts symbolic value is a Bool and returns it

func (Uint) SymFlt added in v0.2.0

func (s Uint) SymFlt() float64

SymFlt asserts symbolic value is a Flt and returns it

func (Uint) SymSint added in v0.2.0

func (s Uint) SymSint() int64

SymSint asserts symbolic value is a Sint and returns it

func (Uint) SymStr added in v0.2.0

func (s Uint) SymStr() string

SymStr asserts symbolic value is a Str and returns it

func (Uint) SymUint added in v0.2.0

func (s Uint) SymUint() uint64

SymUint asserts symbolic value is a Uint and returns it

func (Uint) TrySymAny added in v0.2.0

func (s Uint) TrySymAny() (any, bool)

TrySymAny try assert symbolic value is a Any and return result

func (Uint) TrySymBigInt added in v0.2.0

func (s Uint) TrySymBigInt() (*big.Int, bool)

TrySymBigInt try assert symbolic value is a BigInt and return result

func (Uint) TrySymBitBuf added in v0.2.0

func (s Uint) TrySymBitBuf() (bitio.ReaderAtSeeker, bool)

TrySymBitBuf try assert symbolic value is a BitBuf and return result

func (Uint) TrySymBool added in v0.2.0

func (s Uint) TrySymBool() (bool, bool)

TrySymBool try assert symbolic value is a Bool and return result

func (Uint) TrySymFlt added in v0.2.0

func (s Uint) TrySymFlt() (float64, bool)

TrySymFlt try assert symbolic value is a Flt and return result

func (Uint) TrySymSint added in v0.2.0

func (s Uint) TrySymSint() (int64, bool)

TrySymSint try assert symbolic value is a Sint and return result

func (Uint) TrySymStr added in v0.2.0

func (s Uint) TrySymStr() (string, bool)

TrySymStr try assert symbolic value is a Str and return result

func (Uint) TrySymUint added in v0.2.0

func (s Uint) TrySymUint() (uint64, bool)

TrySymUint try assert symbolic value is a Uint and return result

type UintActualFn added in v0.2.0

type UintActualFn func(a uint64) uint64

UintActualFn map actual Uint using f

func UintActualAdd added in v0.2.0

func UintActualAdd(n int) UintActualFn

func (UintActualFn) MapUint added in v0.2.0

func (fn UintActualFn) MapUint(s Uint) (Uint, error)

TODO: error?

type UintDescriptionFn added in v0.2.0

type UintDescriptionFn func(a string) string

UintDescriptionFn map sym Uint using f

func (UintDescriptionFn) MapUint added in v0.2.0

func (f UintDescriptionFn) MapUint(s Uint) (Uint, error)

type UintFn added in v0.2.0

type UintFn func(s Uint) (Uint, error)

UintFn map actual Uint using f

func UintActualDate added in v0.2.0

func UintActualDate(epoch time.Time, format string) UintFn

func UintActualUnixTime added in v0.2.0

func UintActualUnixTime(format string) UintFn

func (UintFn) MapUint added in v0.2.0

func (fn UintFn) MapUint(s Uint) (Uint, error)

type UintMap added in v0.2.0

type UintMap map[uint64]Uint

Map Uint

func (UintMap) MapUint added in v0.2.0

func (m UintMap) MapUint(s Uint) (Uint, error)

type UintMapDescription added in v0.2.0

type UintMapDescription map[uint64]string

Map Uint description

func (UintMapDescription) MapUint added in v0.2.0

func (m UintMapDescription) MapUint(s Uint) (Uint, error)

type UintMapSymBool added in v0.2.0

type UintMapSymBool map[uint64]bool

Map Uint sym Bool

func (UintMapSymBool) MapUint added in v0.2.0

func (m UintMapSymBool) MapUint(s Uint) (Uint, error)

type UintMapSymFlt added in v0.2.0

type UintMapSymFlt map[uint64]float64

Map Uint sym Flt

func (UintMapSymFlt) MapUint added in v0.2.0

func (m UintMapSymFlt) MapUint(s Uint) (Uint, error)

type UintMapSymSint added in v0.2.0

type UintMapSymSint map[uint64]int64

Map Uint sym Sint

func (UintMapSymSint) MapUint added in v0.2.0

func (m UintMapSymSint) MapUint(s Uint) (Uint, error)

type UintMapSymStr added in v0.2.0

type UintMapSymStr map[uint64]string

Map Uint sym Str

func (UintMapSymStr) MapUint added in v0.2.0

func (m UintMapSymStr) MapUint(s Uint) (Uint, error)

type UintMapSymUint added in v0.2.0

type UintMapSymUint map[uint64]uint64

Map Uint sym Uint

func (UintMapSymUint) MapUint added in v0.2.0

func (m UintMapSymUint) MapUint(s Uint) (Uint, error)

type UintMapper added in v0.2.0

type UintMapper interface {
	MapUint(Uint) (Uint, error)
}

func UintActual added in v0.2.0

func UintActual(v uint64) UintMapper

func UintDescription added in v0.2.0

func UintDescription(v string) UintMapper

func UintSym added in v0.2.0

func UintSym(v any) UintMapper

type UintRangeToScalar added in v0.2.0

type UintRangeToScalar []URangeEntry

UintRangeToScalar maps uint64 ranges to a scalar, first in range is chosen

func (UintRangeToScalar) MapUint added in v0.2.0

func (rs UintRangeToScalar) MapUint(s Uint) (Uint, error)

type UintSymFn added in v0.2.0

type UintSymFn func(a any) any

UintSymFn map sym Uint using f

func (UintSymFn) MapUint added in v0.2.0

func (f UintSymFn) MapUint(s Uint) (Uint, error)

Jump to

Keyboard shortcuts

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