nutcracker.util.typealigned
Type members
Classlikes
Type-aligned list with at least 1 element. Example:
Type-aligned list with at least 1 element. Example:
F[A, X], F[X, Y], F[Y, Z], F[Z, B]
- Companion:
- object
The empty case contains evidence of type equality to overcome the limitations of pattern-matching on GADTs.
The empty case contains evidence of type equality to overcome the limitations of pattern-matching on GADTs.
Similar to Option[F[A, B]]
, but the empty case witnesses type equality
between A
and B
.
Similar to Option[F[A, B]]
, but the empty case witnesses type equality
between A
and B
.
- Companion:
- object
FreeCompose
is a non-empty type-aligned sequence represented
as a (non-balanced) binary tree, in order to support O(1) addition
to either side and O(1) concatenation.
FreeCompose
is a non-empty type-aligned sequence represented
as a (non-balanced) binary tree, in order to support O(1) addition
to either side and O(1) concatenation.
- Companion:
- object
Has the map
operation of a functor.
When =>:
forms a category (on Scala types), then FunctorLike
is a functor if it satisfies the functor laws.
Has the map
operation of a functor.
When =>:
forms a category (on Scala types), then FunctorLike
is a functor if it satisfies the functor laws.
- Companion:
- object
Types
Binary counter-like accumulator for type-aligned binary type constructors, with the most significant bit on the left and addition of new elements (i.e. "increment") from the right.
Binary counter-like accumulator for type-aligned binary type constructors, with the most significant bit on the left and addition of new elements (i.e. "increment") from the right.
Binary counter-like accumulator for type-aligned binary type constructors, with the most significant bit on the right and addition of new elements (i.e. "increment") from the left.
Binary counter-like accumulator for type-aligned binary type constructors, with the most significant bit on the right and addition of new elements (i.e. "increment") from the left.