package
Version:
v0.0.23
Opens a new window with list of versions in this module.
Published: Dec 4, 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 ContraMap[A, B any] interface {
~func(B) A
}
type Foldable[A, B any, M Monoid[A]] interface {
~func(M, B) A
}
type Functor[A, B any, HKTA Type[A], HKTB Type[B], M Map[A, B]] interface {
~func(HKTA, M) HKTB
}
type HKT[T, V any] interface {
Type[T]
~func(V)
}
type Identity[T any] interface {
~func() T
}
type Map[A, B any] interface {
~func(A) B
}
type Maybe[T any] interface {
~func() (T, error)
}
type Result[T any] interface {
~func() (T, error)
}
type Semigroup[T any] interface {
~func(T, T) T
}
type Type[T any] interface {
~func(T)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.