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

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