| Copyright | (c) CNRS 2017-Present |
|---|---|
| License | AGPL + CECILL v3 |
| Maintainer | team@gargantext.org |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Gargantext.Core.Utils.Prefix
Description
Here is a longer description of this module, containing some
commentary with some markup.
Synopsis
- dropPrefix :: String -> String -> String
- unPrefix :: String -> Options
- unPrefixSwagger :: String -> SchemaOptions
- unPrefixUntagged :: String -> Options
- unCapitalize :: String -> String
- parseJSONFromString :: Read a => Value -> Parser a
- wellNamedSchema :: (Typeable a, Generic a, GToSchema (Rep a), GenericHasSimpleShape a "genericDeclareNamedSchemaUnrestricted" (GenericShape (Rep a))) => Text -> Proxy a -> Declare (Definitions Schema) NamedSchema
Documentation
dropPrefix :: String -> String -> String #
Remove given prefix
unPrefixSwagger :: String -> SchemaOptions #
unPrefixUntagged :: String -> Options #
unCapitalize :: String -> String #
Lower case leading character
parseJSONFromString :: Read a => Value -> Parser a #
wellNamedSchema :: (Typeable a, Generic a, GToSchema (Rep a), GenericHasSimpleShape a "genericDeclareNamedSchemaUnrestricted" (GenericShape (Rep a))) => Text -> Proxy a -> Declare (Definitions Schema) NamedSchema #