Link Search Menu Expand Document

Endomorphism overview

Added in v2.11.0


Table of contents


instances

URI

Signature

export declare const URI: 'Endomorphism'

Added in v2.11.0

URI (type alias)

Signature

export type URI = typeof URI

Added in v2.11.0

getMonoid

Endomorphism form a Monoid where the empty value is the identity function.

Signature

export declare const getMonoid: <A = never>() => Monoid<Endomorphism<A>>

Added in v2.11.0

getSemigroup

Endomorphism form a Semigroup where the concat operation is the usual function composition.

Signature

export declare const getSemigroup: <A = never>() => Semigroup<Endomorphism<A>>

Added in v2.11.0

utils

Endomorphism (interface)

Signature

export interface Endomorphism<A> {
  (a: A): A
}

Added in v2.11.0