Documentation ¶
Index ¶
- func Ap[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], ...](ga GA) func(GAB) GB
- func Applicative[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], ...]() applicative.Applicative[A, B, GA, GB, GAB]
- func Chain[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) GB, ...](f FCT) func(GA) GB
- func ChainFirst[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) GB, ...](f FCT) func(GA) GA
- func Eq[GA ~func(S) P.Pair[A, S], S, A any](w EQ.Eq[S], a EQ.Eq[A]) func(S) EQ.Eq[GA]
- func Evaluate[GA ~func(S) P.Pair[A, S], S, A any](s S) func(GA) A
- func Execute[GA ~func(S) P.Pair[A, S], S, A any](s S) func(GA) S
- func Flap[FAB ~func(A) B, GFAB ~func(S) P.Pair[FAB, S], GB ~func(S) P.Pair[B, S], ...](a A) func(GFAB) GB
- func Flatten[GAA ~func(S) P.Pair[GA, S], GA ~func(S) P.Pair[A, S], S, A any](mma GAA) GA
- func FromStrictEquals[GA ~func(S) P.Pair[A, S], S, A comparable]() func(S) EQ.Eq[GA]
- func Functor[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], S, A, B any]() functor.Functor[A, B, GA, GB]
- func Get[GA ~func(S) P.Pair[S, S], S any]() GA
- func Gets[GA ~func(S) P.Pair[A, S], FCT ~func(S) A, A, S any](f FCT) GA
- func Map[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) B, ...](f FCT) func(GA) GB
- func Modify[GA ~func(S) P.Pair[any, S], FCT ~func(S) S, S any](f FCT) GA
- func Monad[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], ...]() monad.Monad[A, B, GA, GB, GAB]
- func MonadAp[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], ...](fab GAB, fa GA) GB
- func MonadChain[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) GB, ...](fa GA, f FCT) GB
- func MonadChainFirst[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) GB, ...](ma GA, f FCT) GA
- func MonadFlap[FAB ~func(A) B, GFAB ~func(S) P.Pair[FAB, S], GB ~func(S) P.Pair[B, S], ...](fab GFAB, a A) GB
- func MonadMap[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], FCT ~func(A) B, ...](fa GA, f FCT) GB
- func Of[GA ~func(S) P.Pair[A, S], S, A any](a A) GA
- func Pointed[GA ~func(S) P.Pair[A, S], S, A any]() pointed.Pointed[A, GA]
- func Put[GA ~func(S) P.Pair[any, S], S any]() GA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Applicative ¶
func Applicative[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], GA ~func(S) P.Pair[A, S], S, A, B any]() applicative.Applicative[A, B, GA, GB, GAB]
Applicative implements the applicative operations for [Writer]
func ChainFirst ¶
func FromStrictEquals ¶
func FromStrictEquals[GA ~func(S) P.Pair[A, S], S, A comparable]() func(S) EQ.Eq[GA]
FromStrictEquals constructs an [EQ.Eq] from the canonical comparison function
func Functor ¶
func Functor[GB ~func(S) P.Pair[B, S], GA ~func(S) P.Pair[A, S], S, A, B any]() functor.Functor[A, B, GA, GB]
Functor implements the functor operations for [Writer]
func Monad ¶
func Monad[GB ~func(S) P.Pair[B, S], GAB ~func(S) P.Pair[func(A) B, S], GA ~func(S) P.Pair[A, S], S, A, B any]() monad.Monad[A, B, GA, GB, GAB]
Monad implements the monadic operations for [Writer]
func MonadChain ¶
func MonadChainFirst ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.