package
Version:
v1.13.0
Opens a new window with list of versions in this module.
Published: Jul 16, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Filterable[T any] interface {
Filter(func(T) bool) T
}
type Foldable[T any, R any] interface {
Map(func(T) R) R
FoldLeft(func(T) R) R
FoldRight(func(T) R) R
}
type Monadic[T any] interface {
ForEach(func(T))
Map(func(T) T) T
FlatMap(func(T) Monadic[T]) T
}
type Monoid[T any] interface {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.