Codec for boolean values.
Moduletomland-1.3.3.3Haskell2010
Toml.Codec.Combinator.Primitive
SPDX-License-Identifier : MPL-2.0 Maintainer : Kowainik xrom.xkov@gmail.com Stability : Stable Portability : Portable
TOML-specific combinators for converting between TOML and Haskell primitive types, e.g. Int, ByteString.
For the overall picture you can see how different types are represented by codecs in the following table:
Haskell Type |
| |
|---|---|---|
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
| "a" | |
Lazy |
| "a" |
| "a" | |
Lazy |
| "a" |
as Array |
| "a" |
Lazy as Array |
| "a" |
- 15 values
- Packagetomland-1.3.3.3
- Exports15
- LanguageHaskell2010
- LicenceMPL-2.0
- SourcePrimitive.hs
Boolean
1 declarationIntegral numbers
5 declarationsCodec for integer values.
Codec for integer values.
Codec for natural values.
Codec for word values.
Codec for word8 values.
Floating point numbers
2 declarationsCodec for floating point values with double precision.
Codec for floating point values.
Text types
7 declarationsCodec for string values.
Codec for text values.
Codec for lazy text values.
Codec for text values as ByteString.
Codec for text values as ByteString.
Codec for positive integer array values as ByteString.
Codec for positive integer array values as lazy ByteString.