All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.shapeless-contrib-common_2.10.0.5.source-code.common.scala Maven / Gradle / Ivy

The newest version!
package shapeless.contrib

import shapeless._

trait Product[+C[_], F, T <: HList] {
  def F: C[F]
  def T: C[T]

  type λ = F :: T
}

trait Sum[+C[_], L, R <: Coproduct] {
  def L: C[L]
  def R: C[R]

  type λ = L :+: R
}

trait Isomorphic[+C[_], A, B] {
  def B: C[B]
  def to: A => B
  def from: B => A
}

// vim: expandtab:ts=2:sw=2




© 2015 - 2025 Weber Informatics LLC | Privacy Policy