eu.timepit.refined.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refined_sjs1_3 Show documentation
Show all versions of refined_sjs1_3 Show documentation
Simple refinement types for Scala
The newest version!
package eu.timepit
import eu.timepit.refined.api.{Refined, RefType}
import eu.timepit.refined.internal._
package object refined {
/**
* Alias for `[[api.RefType.refine]][P]` with `[[api.Refined]]` as type
* parameter for `[[api.RefType]]`.
*
* Note: `V` stands for '''v'''alue class.
*/
def refineV[P]: RefinePartiallyApplied[Refined, P] = RefType.refinedRefType.refine[P]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy