object Digit extends DigitInstances with Serializable
- Source
- Digit.scala
- Alphabetic
- By Inheritance
- Digit
- Serializable
- Serializable
- DigitInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- implicit def DigitLong(d: Digit): Long
- def digitFromChar(c: Char): Option[Digit]
- def digitFromInt(i: Int): Option[Digit]
- def digitFromLong(i: Long): Option[Digit]
-
implicit
val
digitInstances: Enum[Digit] with Show[Digit] with Monoid[Digit]
- Definition Classes
- DigitInstances
- def digits[F[_]](cs: F[Char])(implicit F: Functor[F]): OptionT[F, Digit]
- val digits: List[Digit]
- def digitsCollapse[F[_]](chars: F[Char])(implicit F: MonadPlus[F]): F[Digit]
- def digitsOr[F[_]](chars: F[Char], d: ⇒ Digit)(implicit F: Functor[F]): F[Digit]
- def longDigits[F[_]](digits: F[Digit])(implicit F: Foldable[F]): Long
- def mod10Digit(i: Int): Digit
- def traverseDigits[F[_]](chars: F[Char])(implicit F: Traverse[F]): Option[F[Digit]]
- def traverseDigitsOr[F[_]](chars: F[Char], d: ⇒ F[Digit])(implicit F: Traverse[F]): F[Digit]
- object _0 extends Digit with Product with Serializable
- object _1 extends Digit with Product with Serializable
- object _2 extends Digit with Product with Serializable
- object _3 extends Digit with Product with Serializable
- object _4 extends Digit with Product with Serializable
- object _5 extends Digit with Product with Serializable
- object _6 extends Digit with Product with Serializable
- object _7 extends Digit with Product with Serializable
- object _8 extends Digit with Product with Serializable
- object _9 extends Digit with Product with Serializable