harness.core

package harness.core

Members list

Concise view

Type members

Classlikes

sealed trait Color

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RGB
trait Simple
object Default.type
class Named
object Black.type
object Blue.type
object Cyan.type
object Green.type
object Magenta.type
object Red.type
object White.type
object Yellow.type
object Color

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Color.type
sealed trait ColorMode

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Colorless.type
object Show.type
trait Standard
object Extended.type
object Simple.type
opaque object ColorMode

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ColorString

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Complex
class Simple

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
implicit class ColorStringInterpolator(sc: StringContext)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait Enum[E <: Enum[E]] extends Enum[E]

Attributes

Companion:
object
Graph
Supertypes
class Enum[E]
trait Serializable
trait Comparable[E]
class Object
trait Matchable
class Any
Self type
E
object Enum

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Enum.type
sealed abstract class HError(val userMessage: UserMessage, val internalMessage: String, val causes: List[Throwable]) extends Throwable

Attributes

Companion:
object
Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class Multiple
class Single
class ???
class UserError
class Wrapped
object HError

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HError.type
implicit class HarnessCharOps(self: Char)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
implicit class HarnessStrOps(self: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait IndentedString

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Break.type
class Indented
class Inline
class Str

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait InfiniteSet[T]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Exclusive[T]
class Inclusive[T]

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
enum RunMode

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait StringDecoder[+T]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait StringEncoder[-T]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Unapply[A, B]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Unapply

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Unapply.type
final case class Version(hasVPrefix: Boolean, numbers: NonEmptyList[Int], suffixOpt: Option[String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Version

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Version.type
trait Zip[In1, In2]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Zip extends ZipLowPriority1

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Zip.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Zip.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Zip.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Zip.type

Types

type EitherError[A] = Either[HError, A]
type EitherErrorNel[A] = EitherNel[HError, A]

Value members

Concrete fields

inline val ANSIEscapeString: "\u001b["

Givens

Givens

given convertStringToColorString: Conversion[String, ColorString]

Extensions

Extensions

extension (csl: List[ColorString])
def csMkString(sep: String): ColorString
def csMkString(start: String, sep: String, end: String): ColorString
extension [A, B](self: Either[A, B])
def cata[C](left: A => C, right: B => C): C
extension [A](self: Option[A])
def cata[B](none: => B, some: A => B): B
extension (self: Duration)
def prettyPrint: String
extension (self: String)
def alignCenter(length: Int, char: Char): String
def alignLeft(length: Int, char: Char): String
def alignRight(length: Int, char: Char): String
def camelToSnake: String
def dashToSnake: String
def decapitalize: String
def pluralize(amount: Long, pluralSuffix: String, singularSuffix: String): String
def snakeToDash: String
def snakeToLowerCamel: String
def snakeToUpperCamel: String
def stripColor: String
def toNES: Option[String]
extension (self: Double)
def ceilTo(mult: Double): Double
def floorTo(mult: Double): Double
def roundTo(numPlaces: Int): Double
def roundTo(mult: Double): Double
def toStringCommas(showEmptyDecimal: Boolean): String
extension (self: Long)
def pluralizeOn(base: String, pluralSuffix: String, singularSuffix: String, addCommas: Boolean): String
def toStringCommas: String

Implicits

Implicits

final implicit def ColorStringInterpolator(sc: StringContext): ColorStringInterpolator
final implicit def HarnessCharOps(self: Char): HarnessCharOps
final implicit def HarnessStrOps(self: String): HarnessStrOps