Safe Haskell | None |
---|
Helper functions that can be reused by libraries interoperating with generic-aeson.
- formatLabel :: Text -> Text
- multipleConstructors :: [a] -> Bool
- conNameT :: forall c t f a. Constructor c => t c f a -> Text
- selNameT :: forall s t f a. Selector s => t s f a -> Text
- module Generics.Generic.IsEnum
Documentation
formatLabel :: Text -> TextSource
Lowercases the first letter and strips leading and trailing underscores.
multipleConstructors :: [a] -> BoolSource
conNameT :: forall c t f a. Constructor c => t c f a -> TextSource
module Generics.Generic.IsEnum