harness.core

package harness.core

Members list

Type members

Classlikes

sealed trait Color

Attributes

Companion
object
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
Show all
object Color

Attributes

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

Attributes

Companion
object
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
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ColorMode.type
sealed trait ColorString

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion
trait
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
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class Multiple
class Single
class ???
class UserError
class Wrapped
Show all
object HError

Attributes

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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait IndentedString

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
object StringDecoder

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object StringEncoder

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Unapply

Attributes

Companion
trait
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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Version

Attributes

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

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
Zip.type

Attributes

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

Attributes

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

Attributes

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])(csl: List[ColorString])
def csMkString(sep: String): ColorString
def csMkString(start: String, sep: String, end: String): ColorString
extension (self: Duration)(self: Duration)
def prettyPrint: String
extension [A](self: Option[A])(self: Option[A])
def cata[B](none: => B, some: A => B): B
extension [A, B](self: Either[A, B])(self: Either[A, B])
def cata[C](left: A => C, right: B => C): C
extension (self: String)(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: Long)(self: Long)
def pluralizeOn(base: String, pluralSuffix: String, singularSuffix: String, addCommas: Boolean): String
def toStringCommas: String
extension (self: Double)(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: BigDecimal)(self: BigDecimal)
def toStringCommas(showEmptyDecimal: Boolean): String

Implicits

Implicits

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