comonoid 0.3.0

A comonoid in a monoidal category is a monoid in the dual category, what is the problem?

Crate comonoid [] [src]

Structs

Comonoidal

A newtype wrapper to make a comonoid out of any cloneable type.

Traits

Comonoid

A comonoid in a monoidal category is a monoid in the dual category, what is the problem?

Functions

discard

Takes ownership of a value and returns (), rendering it unusable.

duplicate

Takes ownership of a value and returns a tuple of clones.