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

validator.package.scala Maven / Gradle / Ivy

The newest version!
package object validator extends ValidationRules with Extractors {
  type RuleName = String
  type ValidationName = String

  def validate[A, B](value: A, validation: Validation[B])(implicit vv: ValidationValue[A]): ValidationResult[B] = {
    validation.run(vv(value))
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy