Documentation
¶
Index ¶
- func ConcatAll[A any](m Magma[A]) func(A) func([]A) A
- func Endo[A any](f func(A) A) func(Magma[A]) Magma[A]
- func FilterFirst[A any](p func(A) bool) func(Magma[A]) Magma[A]
- func FilterSecond[A any](p func(A) bool) func(Magma[A]) Magma[A]
- func GenericConcatAll[GA ~[]A, A any](m Magma[A]) func(A) func(GA) A
- func GenericMonadConcatAll[GA ~[]A, A any](m Magma[A]) func(GA, A) A
- func MonadConcatAll[A any](m Magma[A]) func([]A, A) A
- type Magma
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericConcatAll ¶
GenericConcatAll concats all items using the semigroup and a starting value
func GenericMonadConcatAll ¶
func MonadConcatAll ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.