| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
DebugPrint.Types
Description
A general structure to which data values may be converted
This is often useful for testing and logging to get an output that is
more structured and better pretty-printed than what show can offer.
Documentation
newtype DebugPrintRecord #
Constructors
| DebugPrintRecord (Map Text DebugPrintValue) |
Instances
| Monoid DebugPrintRecord | |
Defined in DebugPrint.Core Methods mappend :: DebugPrintRecord -> DebugPrintRecord -> DebugPrintRecord # mconcat :: [DebugPrintRecord] -> DebugPrintRecord # | |
| Semigroup DebugPrintRecord | |
Defined in DebugPrint.Core Methods (<>) :: DebugPrintRecord -> DebugPrintRecord -> DebugPrintRecord # sconcat :: NonEmpty DebugPrintRecord -> DebugPrintRecord # stimes :: Integral b => b -> DebugPrintRecord -> DebugPrintRecord # | |
| ToDebugPrintRecord DebugPrintRecord | |
Defined in DebugPrint.Core Methods toDebugPrintRecord :: DebugPrintRecord -> DebugPrintRecord # | |
data DebugPrintValue #
Constructors
| DebugPrintValueInt Integer | |
| DebugPrintValueText Text | |
| DebugPrintValueBool Bool | |
| DebugPrintValueVector (Vector DebugPrintValue) | |
| DebugPrintValueRecord DebugPrintRecord |
Instances
| IsString DebugPrintValue | |
Defined in DebugPrint.Core Methods fromString :: String -> DebugPrintValue # | |
| ToDebugPrintValue DebugPrintValue | |
Defined in DebugPrint.Core Methods | |