typeclass

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filterable

type Filterable[T any] interface {
	Filter(func(T) bool) T
}

type Foldable

type Foldable[T any, R any] interface {
	Map(func(T) R) R
	FoldLeft(func(T) R) R
	FoldRight(func(T) R) R
}

type Monadic

type Monadic[T any] interface {
	ForEach(func(T))
	Map(func(T) T) T
	FlatMap(func(T) Monadic[T]) T
}

type Monoid

type Monoid[T any] interface {
}

Jump to

Keyboard shortcuts

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