![JAR search and dependency download from the Maven repository](/logo.png)
com.eharmony.aloha.models.Subvalue.scala Maven / Gradle / Ivy
The newest version!
package com.eharmony.aloha.models
/**
* Created by ryan on 1/18/17.
*/
case class Subvalue[+B, +N](audited: B, natural: Option[N]) {
def fold[A](fail: => A, success: N => A): A = natural.fold(fail)(success)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy