Empty

halotukozak.alpaca.internal.Empty
See theEmpty companion trait
object Empty

Attributes

Companion
trait
Experimental
true
Source
Empty.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Empty.type

Members list

Givens

Givens

inline given derived: [T <: Product] => Of[T] => Empty[T]

Automatically derives an Empty instance for any Product type with default parameters.

Automatically derives an Empty instance for any Product type with default parameters.

This macro-based derivation uses the default values of constructor parameters to create a factory for the type.

Type parameters

T

the Product type to derive Empty for

Attributes

Returns

an Empty instance that creates default instances

Source
Empty.scala