Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3 |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Utilities related to data types.
Synopsis
- allValues :: (Bounded a, Enum a) => [a]
- customOptions :: Options
- dropFieldPrefix :: String -> String
- readEnumCI :: (Bounded a, Enum a, Show a) => ReadS a
- symbolCase :: Char -> String -> String
Documentation
customOptions :: Options Source #
Custom Aeson options.
dropFieldPrefix :: String -> String Source #
Drops prefix from camel-case text.
>>>
dropFieldPrefix "xxHelloWorld"
"helloWorld"