functionfixture

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: 0BSD Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *evm.FunctionOf[func(int) int]

func GetWrong

func GetWrong() *evm.FunctionOf[func(string) string]

func Keep

func Keep(fn *evm.FunctionOf[func(int) int])

func KeepAny

func KeepAny(fn *evm.FunctionOf[any])

func Register

func Register(fn *evm.FunctionOf[func(int) int])

func RegisterRows

func RegisterRows(fn *evm.FunctionOf[func(func([]string), func([]any))])

func RegisterText

func RegisterText(fn *evm.FunctionOf[func(string) string])

func RegisterValue

func RegisterValue(fn *evm.FunctionOf[func(int) any])

func Strings

func Strings(values []string)

Types

type FunctionSlot

type FunctionSlot struct {
	Fn *evm.FunctionOf[func(int) int]
}

func EchoSlot

func EchoSlot(s FunctionSlot) FunctionSlot

func Slot

func Slot() *FunctionSlot

type NativeBox

type NativeBox struct{ Apply NativeUnary }

func NativeSlot

func NativeSlot() *NativeBox

func (*NativeBox) Bytes

func (*NativeBox) Bytes(data []byte) func(func([]byte) bool)

func (*NativeBox) Visit

func (*NativeBox) Visit(data []byte, visit func([]byte))

func (*NativeBox) Writer

func (*NativeBox) Writer() func([]byte)

type NativeUnary

type NativeUnary func(int) int

func EchoNative

func EchoNative(fn NativeUnary) NativeUnary

Jump to

Keyboard shortcuts

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