def map[B]()

in elitzur-core/src/main/scala/com/spotify/elitzur/validators/ValidationStatus.scala [48:85]


  def map[B](f: A => B): ValidationStatus[B]
  def flatMap[B](f: A => ValidationStatus[B]): ValidationStatus[B]

  def forceGet: A

  def toOption: Option[A]

  def foreach[U](f: A => U): Unit = f(this.forceGet)

  def isEmpty: Boolean = false

  def hasDefiniteSize: Boolean = true

  def seq: IterableOnce[A] = this

  def forall(p: A => Boolean): Boolean = p(this.forceGet)

  def exists(p: A => Boolean): Boolean = p(this.forceGet)

  def find(p: A => Boolean): Option[A] =
    if (p(this.forceGet)) Some(this.forceGet) else None

  def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit =
    xs.update(start, this.forceGet)

  def toTraversable: Iterable[A] = this.asInstanceOf[Iterable[A]]

  def isTraversableAgain: Boolean = true

  def toStream: Stream[A] = Stream(this.forceGet)

  def toIterator: Iterator[A] = this.iterator

  def iterator: Iterator[A] = Iterator(this.forceGet)

}

abstract class PreValidation[+A] extends ValidationStatus[A] {