doneNeedDuality

libretto.CoreLib.doneNeedDuality
object doneNeedDuality extends Dual[Done, Need]

Attributes

Graph
Supertypes
trait Dual[Done, Need]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def law_lr_id: Equal[B -⚬ B]

Law stating that lInvert followed by rInvert is identity.

Law stating that lInvert followed by rInvert is identity.

Attributes

Inherited from:
Dual
def law_rl_id: Equal[A -⚬ A]

Law stating that rInvert followed by lInvert is identity.

Law stating that rInvert followed by lInvert is identity.

Attributes

Inherited from:
Dual

Concrete fields

Reverses the output that flows against the -⚬ arrow (say it is the B output) to its dual (A) flowing in the direction of the arrow.

Reverses the output that flows against the -⚬ arrow (say it is the B output) to its dual (A) flowing in the direction of the arrow.

 ┏━━━━━┓
 ┃ l   ┞─┐
 ┃ I ┌─╎B│
 ┃ n ┆ ┟─┘
 ┃ v ┆ ┃
 ┃ e ┆ ┞─┐
 ┃ r └→╎A│
 ┃ t   ┟─┘
 ┗━━━━━┛

Attributes

Reverses the input that flows along the -⚬ arrow (say it is the A input) to its dual (B) flowing against the direction of the arrow.

Reverses the input that flows along the -⚬ arrow (say it is the A input) to its dual (B) flowing against the direction of the arrow.

 ┏━━━━━━━┓
 ┞─┐   r ┃
 ╎A│─┐ I ┃
 ┟─┘ ┆ n ┃
 ┃   ┆ v ┃
 ┞─┐ ┆ e ┃
 ╎B│←┘ r ┃
 ┟─┘   t ┃
 ┗━━━━━━━┛

Attributes