besom.util

package besom.util

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object NonEmptySet

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

A String that is not empty or blank.

A String that is not empty or blank.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NonEmptyString.type
final case class NonEmptyVector[+A](head: A, tail: Vector[A])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait NotProvided

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NotProvided.type
case object NotProvided extends NotProvided

Attributes

Companion
trait
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait NotProvided
class Object
trait Matchable
class Any
Show all
Self type
enum Validated[+E, +A]

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case Valid[E, A]
case Invalid[E, A]
opaque object Validated

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Validated.type
object interpolator

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object printer extends PPrinter

Attributes

Supertypes
class PPrinter
trait Serializable
trait Product
trait Equals
class Walker
class Object
trait Matchable
class Any
Show all
Self type
printer.type

Types

opaque type NonEmptySet[A]
opaque type NonEmptyString

A String that is not empty or blank.

A String that is not empty or blank.

Attributes

Extensions

Extensions

extension [A](a: A)
def valid: Validated[Nothing, A]
def validResult: ValidatedResult[Nothing, A]
extension [A](a: Option[A])
def toValidatedOrError[E](e: => E): Validated[E, A]
extension [E](e: E)
def invalid: Validated[E, Nothing]
extension [E, A](e: Either[E, A])
extension [A](v: A | NotProvided)
def asOption: Option[A]
extension [A](vec: Vector[A])
def traverseV[E, B](f: A => Validated[E, B]): Validated[E, Vector[B]]
extension [E, A](vec: Vector[Validated[E, A]])