CacheVals

oxygen.meta.K0.Generic.CacheVals
class CacheVals

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final def apply[F[_]](valName: String => String, valType: ValType)(makeVal: FExpr[F])(using fTpe: Type[F]): ValDefinitions[F, A]
def foldLeft[V : Type](valName: String => String, valType: ValType)(zero: Expr[V])(f: ChildFunction1[Const[Expr[V]], Const[Expr[V]]]): ValDefinitions[Const[V], A]

Sets each childs value to f(prevValue, field).

Sets each childs value to f(prevValue, field).

Attributes

def foldLeftDelayed[V : Type](valName: String => String, valType: ValType)(zero: Expr[V])(f: ChildFunction1[Const[Expr[V]], Const[Expr[V]]]): ValDefinitionsWith[Const[V], A, V]

Sets the first childs value to zero. Sets each following childs value to f(prevValue, prevField). Also exposes the value of f(lastValue, lastField).

Sets the first childs value to zero. Sets each following childs value to f(prevValue, prevField). Also exposes the value of f(lastValue, lastField).

Attributes

final def summonTypeClasses[F[_] : Type](valName: String => String, valType: ValType): ValDefinitions[F, A]
final def summonTypeClassesOrDerive[F[_] : Type](valName: String => String, valType: ValType)(f: FExpr[F]): ValDefinitions[F, A]