Idris2Doc : TypeAligned.Sum

TypeAligned.Sum

(source)
Sum type for binary relations.

Definitions

dataSum : Rela->Rela->Rela
  Sum / Either of relations (linear!)

Totality: total
Visibility: public export
Constructors:
Left : pxy-@Sumpqxy
Right : qxy-@Sumpqxy

Hints:
(Eq (pxy), Eq (qxy)) =>Eq (Sumpqxy)
(Show (pxy), Show (qxy)) =>Show (Sumpqxy)
bimapOnce : {0f : a->b} ->pxy-@r (fx) (fy) ->qxy-@s (fx) (fy) ->Sumpqxy-@Sumrs (fx) (fy)
  Linear 'bimap'

Totality: total
Visibility: export
bimap : {0f : a->b} -> (pxy->r (fx) (fy)) -> (qxy->s (fx) (fy)) ->Sumpqxy->Sumrs (fx) (fy)
  Transform relationships

Totality: total
Visibility: export