magnolia1
package magnolia1
Members list
Type members
Classlikes
trait AutoDerivation[TypeClass[_]] extends Derivation[TypeClass]
Attributes
- Supertypes
-
trait Derivation[TypeClass]trait SealedTraitDerivationtrait CommonDerivation[TypeClass]class Objecttrait Matchableclass AnyShow all
object CallByNeed
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CallByNeed.type
final class CallByNeed[+A](var eval: () => A) extends Serializable
Attributes
- Companion
- object
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
object CaseClass
In the terminology of Algebraic Data Types (ADTs), case classes are known as 'product types'.
In the terminology of Algebraic Data Types (ADTs), case classes are known as 'product types'.
Value parameters
- parameters
-
an array giving information about the parameters of the case class. Each Param element has a very useful CaseClass.Param.typeclass field giving the constructed typeclass for the parameter's type. Eg for a
case class Foo(bar: String, baz: Int), you can obtainTypeclass[String],Typeclass[Int].
Attributes
- Companion
- object
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
object CaseClassDerivation
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CaseClassDerivation.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
trait Derivation[TypeClass[_]] extends CommonDerivation[TypeClass], SealedTraitDerivation
Attributes
- Supertypes
-
trait SealedTraitDerivationtrait CommonDerivation[TypeClass]class Objecttrait Matchableclass Any
- Known subtypes
-
trait AutoDerivation[TypeClass]
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object Monadic
trait ProductDerivation[TypeClass[_]] extends CommonDerivation[TypeClass]
Attributes
- Supertypes
case class SealedTrait[Typeclass[_], Type](typeInfo: TypeInfo, subtypes: IArray[Subtype[Typeclass, Type, _]], annotations: IArray[Any], typeAnnotations: IArray[Any], isEnum: Boolean, inheritedAnnotations: IArray[Any]) extends Serializable
Represents a Sealed-Trait or a Scala 3 Enum.
Represents a Sealed-Trait or a Scala 3 Enum.
In the terminology of Algebraic Data Types (ADTs), sealed-traits/enums are termed 'sum types'.
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass AnyShow all
object SealedTrait
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SealedTrait.type
trait SealedTraitDerivation
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Derivation[TypeClass]trait AutoDerivation[TypeClass]
In this article