Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NumberType
- data TextType
- data MapType
- = UseMap
- | UseHashMap
- data ListType
- data Options = Options {}
- textType :: Lens' Options TextType
- tabStop :: Lens' Options Int
- strictData :: Lens' Options Bool
- numberType :: Lens' Options NumberType
- mapType :: Lens' Options MapType
- listType :: Lens' Options ListType
- includeHeader :: Lens' Options Bool
- simpleOptions :: Options
- performantOptions :: Options
Documentation
data NumberType Source #
Choose which type to use for Numbers
UseSmartFloats | |
UseSmartDoubles | |
UseFloats | Use |
UseDoubles | Use |
UseScientificNumbers | Use |
Instances
Eq NumberType Source # | |
Defined in JsonToHaskell.Internal.Options (==) :: NumberType -> NumberType -> Bool # (/=) :: NumberType -> NumberType -> Bool # | |
Show NumberType Source # | |
Defined in JsonToHaskell.Internal.Options showsPrec :: Int -> NumberType -> ShowS # show :: NumberType -> String # showList :: [NumberType] -> ShowS # |
Choose which type to use for strings
UseString | Use |
UseText | Use |
UseByteString | Use |
Options for module generation
Options | |
|
simpleOptions :: Options Source #
Simple module generation options. These are reasonable defaults for a simple module
performantOptions :: Options Source #
Use more performant data types, use these for production apps.