Class for types that can be decoded from a TOML value.
Instances31FromValue, …
FromValue IntegerDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches integer values
FromValue NaturalDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches non-negative integer values
FromValue Int16Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Int32Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Int64Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Int8Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Word16Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Word32Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Word64Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue Word8Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue BoolDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches
trueandfalseFromValue CharDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches single-character strings with fromValue and arbitrary strings with listFromValue to support String
FromValue DoubleDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches floating-point and integer values
FromValue FloatDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches floating-point and integer values
FromValue IntDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue WordDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue TextDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches string literals
FromValue TextDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches string literals
FromValue DayDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches local date literals
FromValue LocalTimeDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches local date-time literals
FromValue TimeOfDayDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches local time literals
FromValue ZonedTimeDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches offset date-time literals
FromValue TableDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueFromValue ValueDefined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches all values, used for pass-through
Integral a => FromValue (Ratio a)Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches floating-point and integer values.
TOML specifies
Floats should be implemented as IEEE 754 binary64 values.so note that the given Rational will be converted from a double representation and will often be an approximation rather than the exact value.FromValue a => FromValue (Seq a)Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches arrays
FromValue a => FromValue (NonEmpty a)Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueMatches non-empty arrays or reports an error.
FromValue a => FromValue [a]Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValueImplemented in terms of listFromValue
(Generic a, GFromArray (Rep a)) => FromValue (GenericTomlArray a)Defined in toml-parser-2.0.0.0 · Toml.Schema.GenericInstance derived using genericFromArray
(Generic a, GParseTable (Rep a)) => FromValue (GenericTomlTable a)Defined in toml-parser-2.0.0.0 · Toml.Schema.GenericInstance derived using genericParseTable
(Ord k, FromKey k, FromValue v) => FromValue (Map k v)Defined in toml-parser-2.0.0.0 · Toml.Schema.FromValue