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

ch.epfl.scala.ImplicitSearchDebugInfo.scala Maven / Gradle / Ivy

package ch.epfl.scala

final case class ImplicitSearchDebugInfo private (firings: Int, sourceFiles: List[String])

object ImplicitSearchDebugInfo {
  def apply(firings: Int, sourceFiles: List[String]): Option[ImplicitSearchDebugInfo] =
    if (firings > 0 && sourceFiles.nonEmpty)
      Some(new ImplicitSearchDebugInfo(firings, sourceFiles))
    else
      None
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy