Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
func (Add[T]) ComputeVals ¶
type Computer ¶
type Computer[T any] interface { ComputeVals() (T, error) // Resets the state of the Computers's underlying value. Reset() }
An interface that defines how computed arguments will be evaluated. The upderlying value is expected to have some way to access the data it needs to compute the value T. Normally, the underlying value will be a struct with a pointer to value(s) that it needs.
type Div ¶
func (Div[T]) ComputeVals ¶
func (a Div[T]) ComputeVals() (T, error)
type Mul ¶
func (Mul[T]) ComputeVals ¶
func (a Mul[T]) ComputeVals() (T, error)
type Stopper ¶
func (Stopper[T]) ComputeVals ¶
Click to show internal directories.
Click to hide internal directories.