Contexts
libretto.lambda.Lambdas.Contexts
trait Contexts
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Context
Members list
Value members
Abstract methods
def registerConstant[A](v: Var[V, A])(introduce: [x] => Unit => x -> (A ** x))(using ctx: Context): Unit
def registerNonLinearOps[A](a: Expr[A])(split: Option[A -> (A ** A)], discard: Option[[B] => DummyImplicit ?=> (A ** B) -> B])(using Context): Unit
Concrete methods
def exprDiscarderSh(using Context): [X] => Expr[X] => Option[[Y] => DummyImplicit ?=> shuffled.Shuffled[X ** Y, Y]]
def getDiscardSh[A](v: Var[V, A])(using Context): Option[[B] => DummyImplicit ?=> shuffled.Shuffled[A ** B, B]]
def registerDiscard[A](a: Expr[A])(discard: [B] => DummyImplicit ?=> (A ** B) -> B)(using Context): Unit
In this article