Materialize

me.cytrowski.mat.Materialize
See theMaterialize companion trait
object Materialize

Built-in operations and evidence for Materialize.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type Aux[A, O <: A] = Materialize[A] { type Out = O; }

Type alias that fixes the precise output type of materialization evidence.

Type alias that fixes the precise output type of materialization evidence.

Attributes

Value members

Concrete methods

def apply[A](using materialize: Materialize[A]): Materialize[A]

Returns materialization evidence available through implicit search.

Returns materialization evidence available through implicit search.

Attributes

def fromValue[A, O <: A](value: => O): Aux[A, O]

Creates materialization evidence backed by a by-name value.

Creates materialization evidence backed by a by-name value.

The argument is evaluated each time the returned evidence is applied.

Attributes

Givens

Givens

transparent inline given derived: [A] => Materialize[A]

Derives materialization evidence using the built-in macro rules.

Derives materialization evidence using the built-in macro rules.

Attributes