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
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 | |
Eq DebugPrintValue | |
Defined in DebugPrint.Core Methods (==) :: DebugPrintValue -> DebugPrintValue -> Bool # (/=) :: DebugPrintValue -> DebugPrintValue -> Bool # | |
Ord DebugPrintValue | |
Defined in DebugPrint.Core Methods compare :: DebugPrintValue -> DebugPrintValue -> Ordering # (<) :: DebugPrintValue -> DebugPrintValue -> Bool # (<=) :: DebugPrintValue -> DebugPrintValue -> Bool # (>) :: DebugPrintValue -> DebugPrintValue -> Bool # (>=) :: DebugPrintValue -> DebugPrintValue -> Bool # max :: DebugPrintValue -> DebugPrintValue -> DebugPrintValue # min :: DebugPrintValue -> DebugPrintValue -> DebugPrintValue # |