functor

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 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 Functor

type Functor[
	A, B any,
	HKTA constraint.Type[A],
	HKTB constraint.Type[B],
	M constraint.Map[A, B],
] interface {
	Map(HKTA, M) HKTB
}

func Lift

func Lift[
	A, B any,
	HKTA constraint.Type[A],
	HKTB constraint.Type[B],
	M constraint.Map[A, B],
	F constraint.Functor[A, B, HKTA, HKTB, M],
](f F) Functor[A, B, HKTA, HKTB, M]

Jump to

Keyboard shortcuts

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