Interface Cofree<F, A>

Co-free functor, the dual of Free. It is isomorphic to the linked list of A.

Type Parameters

  • F

  • A

Hierarchy

  • Cofree

Properties

Properties

current: Lazy.Lazy<A>

A current heading item of the list.

rest: Lazy.Lazy<Instance<Apply1<F, Cofree<F, A>>>>

Rest items of the list.

Generated using TypeDoc