Branch
libretto.lambda.Bin.Branch
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Value members
Inherited methods
def deduplicateLeafs[->[_, _]](dup: [x] => F[x] => ->[T[x], T[x] <*> T[x]])(using leafTest: ClampEq[F], shuffled: ShuffledModule[->, <*>]): Exists[[X] =>> (Bin[<*>, T, F, X], shuffled.Shuffled[X, A <*> B])]
Attributes
- Inherited from:
- Bin
Attributes
- Inherited from:
- Bin
def foldMapWith[G[_]](map: [x] => F[x] => G[T[x]], zip: [x, y] => (G[x], G[y]) => G[x <*> y]): G[A <*> B]
Attributes
- Inherited from:
- Bin
Attributes
- Inherited from:
- Bin
def partition[G[_], H[_]](f: [x] => F[x] => Either[G[x], H[x]])(using shuffle: Shuffle[<*>]): Partitioned[G, H, shuffle.~⚬]
Attributes
- Inherited from:
- Bin
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
def relabelLeafs[U[_], Tr[_, _], B](tr: Tr[A <*> B, B], leafToLeaf: [X, UX] => Tr[T[X], UX] => UX =:= U[X])(using rel: PairwiseRel[<*>, <*>, Tr]): Bin[<*>, U, F, B]
Attributes
- Inherited from:
- Bin
def relabelLeafs[U[_], Tr[_, _]](leafTr: [X] => Unit => Tr[T[X], U[X]], parTr: [A1, A2, B1, B2] => (Tr[A1, B1], Tr[A2, B2]) => Tr[A1 <*> A2, B1 <*> B2]): Exists[[B] =>> (Tr[A <*> B, B], Bin[<*>, U, F, B])]
Attributes
- Inherited from:
- Bin
Returns a tree with the least common superset of leaves and projections to get back to each of the two inputs.
Returns a tree with the least common superset of leaves and projections to get back to each of the two inputs.
Attributes
- Inherited from:
- Bin
In this article