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

poly.algebra.implicits.scala Maven / Gradle / Ivy

package poly.algebra

/**
 * Brings typeclass instances of default algebraic structures on system types into scope.
 *
 * @author Tongfei Chen
 */
object implicits extends ImplicitStructures

trait ImplicitStructures {

  implicit final val IntStructure = std.IntStructure
  implicit final val LongStructure = std.LongStructure
  implicit final val FloatStructure = std.FloatStructure
  implicit final val DoubleStructure = std.DoubleStructure
  implicit final val BooleanStructure = std.BooleanStructure
  implicit final val StringStructure = std.StringStructure

  implicit final val InstantStructure = std.InstantStructure
  implicit final val DurationStructure = std.DurationStructure

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy