IfTransform

cps.macros.forest.IfTransform
object IfTransform

Attributes

Source
IfTransform.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def run[F[_] : Type, T : Type, C <: CpsMonadContext[F] : Type](cpsCtx: TransformationContext[F, T, C], cond: Expr[Boolean], ifTrue: Expr[T], ifFalse: Expr[T])(implicit evidence$1: Type[F], evidence$2: Type[T], evidence$3: Type[C], Quotes): CpsExpr[F, T]

''' '{ if ($cond) $ifTrue else $ifFalse } '''

''' '{ if ($cond) $ifTrue else $ifFalse } '''

Attributes

Source
IfTransform.scala