Packages

o

lucuma.ui.optics

ValidFormatInput

object ValidFormatInput extends ValidFormatInputInstances

Convenience version of ValidFormat when the error type is NonEmptyChain[String] and T = String.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidFormatInput
  2. ValidFormatInputInstances
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](getValidated: (String) => ValidatedNec[String, A], reverseGet: (A) => String): ValidFormatInput[A]

    Build optic from getValidated and reverseGet functions.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fromFormat[A](format: Format[String, A], errorMessage: String = "Invalid format"): ValidFormatInput[A]

    Build optic from a Format

  10. def fromFormatOptional[A](format: Format[String, A], errorMessage: String = "Invalid format"): ValidFormatInput[Option[A]]

    Build optic from a Format but allow empty values to become None

  11. def fromIso[A](iso: Iso[String, A]): ValidFormatInput[A]

    Build optic from a Iso

  12. def fromPrism[A](prism: Prism[String, A], errorMessage: String = "Invalid value"): ValidFormatInput[A]

    Build optic from a Prism

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val id: ValidFormatInput[String]

    Build optic that's always valid and doesn't normalize or format

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val nonEmptyValidFormat: ValidFormatInput[NonEmptyString]
    Definition Classes
    ValidFormatInputInstances
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. val upperNESValidFormat: ValidFormatInput[UpperNES]
    Definition Classes
    ValidFormatInputInstances
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped