
org.plasmalabs.common.ContextlessValidation.scala Maven / Gradle / Ivy
package org.plasmalabs.common
trait ContextlessValidation[F[_], E, T] {
/**
* Determines the validity of the given value, scoped without any contextual information
* (i.e. if T is a Transaction, there is no context about previous transactions or blocks)
* Usually used for syntactic validation purposes.
*/
def validate(t: T): F[Either[E, T]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy