Packages

  • package root
    Definition Classes
    root
  • package kantan
    Definition Classes
    root
  • package codecs
    Definition Classes
    kantan
  • package collection
    Definition Classes
    codecs
  • HasBuilder
  • LowPriorityHasBuilderInstances
  • package error
    Definition Classes
    codecs
  • 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
  • package resource
    Definition Classes
    codecs
  • package strings

    Defines codecs for encoding to and decoding from strings.

    Defines codecs for encoding to and decoding from strings.

    These codecs are not necessary meant to use directly, but more as part of larger ones. kantan.csv, for example, works with CSV files but delegates the act of encoding to or decoding from a CSV cell to string codecs.

    Default instances can be found in kantan.codecs.strings.codecs.

    Definition Classes
    codecs
p

kantan.codecs

collection

package collection

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait HasBuilder[F[_], A] extends AnyRef

    Provides ways to create instances of Builder for arbitrary collection types.

    Provides ways to create instances of Builder for arbitrary collection types.

    This is a bit like CanBuildFrom (and instances of HasBuilder can be derived automatically for any type that has a CanBuildFrom), but simpler (no From type parameter, no variance, ...) and with one critical difference: all the default instances are Serializable, meaning that type classes that depend on HasBuilder can be used with Apache Spark and other framework that, unfortunately, rely on serialisation.

  2. trait LowPriorityHasBuilderInstances extends AnyRef

Value Members

  1. object HasBuilder extends LowPriorityHasBuilderInstances

Ungrouped