Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endomorphism ¶ added in v1.0.75
type Endomorphism[A any] func(A) A
Endomorphism is a function that
func Identity ¶ added in v1.0.75
func Identity[A any]() Endomorphism[A]
Identity returns the identity Endomorphism
func Of ¶ added in v1.0.75
func Of[F ~func(A) A, A any](f F) Endomorphism[A]
Of converts any function to an Endomorphism
Click to show internal directories.
Click to hide internal directories.