CloseableCosemigroup

libretto.CoreLib.CloseableCosemigroup
See theCloseableCosemigroup companion object
trait CloseableCosemigroup[A] extends Cosemigroup[A], Closeable[A]

A weaker version of Comonoid where the input cannot be discarded completely, but can be reduced to a signal traveling in the positive direction (Done) that eventually needs to be awaited.

The dual of NMonoid.

Attributes

Companion
object
Graph
Supertypes
trait Closeable[A]
trait Cosemigroup[A]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

Inherited methods

def close: A -⚬ Done

Attributes

Inherited from:
Closeable

Attributes

Inherited from:
Cosemigroup
def split: A -⚬ A |*| A

Attributes

Inherited from:
Cosemigroup