test

package
v0.0.0-...-d3cd537 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unit11

type Unit11[A1, E1 any] struct {
	Fn   func(A1) E1
	Args tuple.Ones[A1]
	Exps tuple.Ones[E1]
}

func NewUnit11

func NewUnit11[A1, E1 any](fn func(A1) E1) *Unit11[A1, E1]

func (*Unit11[A1, E1]) Case

func (u *Unit11[A1, E1]) Case(a1 A1) func(E1) *Unit11[A1, E1]

func (*Unit11[A1, E1]) Results

func (u *Unit11[A1, E1]) Results() iter.Seq2[tuple.One[E1], tuple.One[E1]]

func (*Unit11[A1, E1]) Run

func (u *Unit11[A1, E1]) Run(fn func(tuple.One[E1], tuple.One[E1]))

Jump to

Keyboard shortcuts

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