package internal
- Alphabetic
- Public
- All
Type Members
-
trait
Adjacent[T] extends Ordering[T]
Type class that provides the next greater or next smaller value for a given argument.
-
final
class
ApplyRefMPartiallyApplied[FTP] extends AnyRef
Helper class that allows the types
F,T, andPto be inferred from calls likeapi.RefType.applyRefM[F[T, P]](t).Helper class that allows the types
F,T, andPto be inferred from calls likeapi.RefType.applyRefM[F[T, P]](t).See http://tpolecat.github.io/2015/07/30/infer.html for a detailed explanation of this trick.
-
final
class
ApplyRefPartiallyApplied[FTP] extends AnyRef
Helper class that allows the types
F,T, andPto be inferred from calls likeapi.RefType.applyRef[F[T, P]](t).Helper class that allows the types
F,T, andPto be inferred from calls likeapi.RefType.applyRef[F[T, P]](t).See http://tpolecat.github.io/2015/07/30/infer.html for a detailed explanation of this trick.
-
final
class
RefineMPartiallyApplied[F[_, _], P] extends AnyRef
Helper class that allows the type
Tto be inferred from calls likeapi.RefType.refineM[P](t).Helper class that allows the type
Tto be inferred from calls likeapi.RefType.refineM[P](t).See http://tpolecat.github.io/2015/07/30/infer.html for a detailed explanation of this trick.
-
final
class
RefinePartiallyApplied[F[_, _], P] extends AnyRef
Helper class that allows the type
Tto be inferred from calls likeapi.RefType.refine[P](t).Helper class that allows the type
Tto be inferred from calls likeapi.RefType.refine[P](t).See http://tpolecat.github.io/2015/07/30/infer.html for a detailed explanation of this trick.
-
final
case class
WitnessAs[A, B](fst: A, snd: B) extends Product with Serializable
WitnessAs[A, B]provides the singleton value of typeAinfstandfstconverted to typeBinsnd.WitnessAs[A, B]provides the singleton value of typeAinfstandfstconverted to typeBinsnd.The purpose of this type class is to allow literals of other types than the base type to be used as arguments in numeric predicates.
Example:
scala> import eu.timepit.refined.{refineV, W} | import eu.timepit.refined.api.Refined | import eu.timepit.refined.numeric.{Greater, Less} scala> refineV[Greater[W.`2.718`.T]](BigDecimal(3.141)) res0: Either[String, BigDecimal Refined Greater[W.`2.718`.T]] = Right(3.141) scala> refineV[Less[W.`1`.T]](0.618) res1: Either[String, Double Refined Less[W.`1`.T]] = Right(0.618)
- trait WitnessAs1 extends AnyRef
-
final
class
RefineMFullyApplied[F[_, _], T, P] extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.1)
Value Members
- object Adjacent extends Serializable
-
object
BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object Resources
- object WitnessAs extends WitnessAs1 with Serializable