halotukozak.alpaca.internal.Empty
See theEmpty companion object
trait Empty[T] extends () => T
A type class for creating empty instances of types.
This trait provides a way to create default instances of Product types (case classes) by using their default parameter values. It extends Function0 to act as a factory.
Type parameters
- T
-
the type to create empty instances of
Attributes
- Companion
- object
- Experimental
- true
- Source
- Empty.scala
- Graph
-
- Supertypes
-
trait () => Tclass Objecttrait Matchableclass Any
Members list
In this article
