servant-py-0.1.0.1: Automatically derive python functions to query servant webservices.

Safe HaskellNone
LanguageHaskell2010

Servant.PY.Python

Documentation

data Python Source #

Instances

HasForeignType Symbol * Python Text a Source # 

Methods

typeFor :: Proxy Text a -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text Bool Source # 

Methods

typeFor :: Proxy Text Bool -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text Int Source # 

Methods

typeFor :: Proxy Text Int -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text ByteString Source # 

Methods

typeFor :: Proxy Text ByteString -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text ByteString Source # 

Methods

typeFor :: Proxy Text ByteString -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text String Source # 

Methods

typeFor :: Proxy Text String -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text Text Source # 

Methods

typeFor :: Proxy Text Text -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text JSON Source # 

Methods

typeFor :: Proxy Text JSON -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text NoContent Source # 

Methods

typeFor :: Proxy Text NoContent -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text a => HasForeignType * * Python Text [a] Source # 

Methods

typeFor :: Proxy Text [a] -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType Symbol * Python Text a => HasForeignType * * Python Text [Header a b] Source # 

Methods

typeFor :: Proxy Text [Header a b] -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType * * Python Text a => HasForeignType * * Python Text (Maybe a) Source # 

Methods

typeFor :: Proxy Text (Maybe a) -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType Symbol * Python Text a => HasForeignType * * Python Text (Headers ((:) * (Header a b) ([] *)) c) Source # 

Methods

typeFor :: Proxy Text (Headers ((* ': Header a b) [*]) c) -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType [*] * Python Text a => HasForeignType (* -> *) * Python Text (Headers a) Source # 

Methods

typeFor :: Proxy Text (Headers a) -> Proxy * ftype -> Proxy Python a -> ftype #

HasForeignType Symbol * Python Text a => HasForeignType (* -> *) * Python Text (Header a) Source # 

Methods

typeFor :: Proxy Text (Header a) -> Proxy * ftype -> Proxy Python a -> ftype #

getFieldsForInstance :: forall a. Data a => a -> [Text] Source #

getFieldTypesForType :: forall a. Typeable a => a -> [Text] Source #

recordToDict :: forall a b. (Data a, Typeable b) => a -> b -> Text Source #