License | BSD3 |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
- newtype ApiUrl res = ApiUrl String
- newtype Identifier a res = Identifier a
- mkIdentifier :: a -> Identifier a res
- getIdentifier :: Identifier a res -> a
- newtype ParamName res = ParamName String
- mkParamName :: String -> ParamName res
- getParamName :: ParamName res -> String
Documentation
Opaque URL received from the API.
newtype Identifier a res Source
Semi-opaque identifier.
Eq a => Eq (Identifier a res) | |
Ord a => Ord (Identifier a res) | |
Show a => Show (Identifier a res) | |
FromJSON a => FromJSON (Identifier a res) | |
Binary a => Binary (Identifier a res) | |
HasStructuralInfo a => HasStructuralInfo (Identifier a res) | |
HasSemanticVersion (Identifier a res) | |
NFData a => NFData (Identifier a res) | |
Hashable a => Hashable (Identifier a res) | |
AnsiPretty a => AnsiPretty (Identifier a res) | |
type SemanticVersion (Identifier a res) = 0 |
mkIdentifier :: a -> Identifier a res Source
getIdentifier :: Identifier a res -> a Source
Semi-opaque parameterised name, used to construct requests
mkParamName :: String -> ParamName res Source
getParamName :: ParamName res -> String Source