monad

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Class

type Class[A, B, C any, MF M[func(A) B], MA M[A], MB M[B], MC M[C]] interface {
	applicative.Class[A, B, C, MF, MA, MB, MC]

	Bind(MA, func(A) MB) MB
	Then(MA, MB) MB
	Return(A) MA
}

type M

type M[T any] interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL