Packages

  • package root
    Definition Classes
    root
  • package kantan
    Definition Classes
    root
  • package codecs
    Definition Classes
    kantan
  • package export

    Provides a simple mechanism to insert derived type class instances in the implicit resolution mechanism.

    Provides a simple mechanism to insert derived type class instances in the implicit resolution mechanism.

    By default, when imported, such instances have the highest possible priority, which is typically problematic with shapeless instance derivation: bespoke instances for Option or Either, for example, find themselves shadowed by the generically derived ones.

    If such instances are of type kantan.codecs.export.DerivedDecoder / kantan.codecs.export.DerivedEncoder rather than Decoder / Encoder, however, they'll find themselves with a lower precedence and only be used if no other, more specific instance is found.

    Definition Classes
    codecs
  • DerivedDecoder
  • DerivedEncoder
  • Exported

final case class Exported[A](value: A) extends AnyVal with Product with Serializable

Wraps derived type class instances.

Source
Exported.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Exported
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Exported(value: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. val value: A

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Ungrouped