io.github.iltotore.iron.internal

Members list

Type members

Classlikes

case class IronConfig(color: Boolean, shortMessages: Boolean)

The config or Iron at compile-time.

The config or Iron at compile-time.

Value parameters

color

enable colored messages

shortMessages

use abbreviated messages, useful for error lenses and similar

Attributes

Companion
object
Source
IronConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object IronConfig

Attributes

Companion
class
Source
IronConfig.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
IronConfig.type
enum Validation[L, R]

Attributes

Source
Validation.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Extensions

Extensions

extension (text: String)
def colorized(color: String)(using config: IronConfig): String

Attributes

Source
package.scala
extension [L, R](validation: Validation[L, R])
def accumulate[L2, R2](other: Validation[L2, R2]): Validation[L | L2, (R, R2)]

Attributes

Source
Validation.scala
def map[R2](f: R => R2): Validation[L, R2]

Attributes

Source
Validation.scala