rest-core-0.36.0.5: Rest API library.

Safe HaskellNone
LanguageHaskell98

Rest.Container

Documentation

mappingI :: forall i i'. (i ~ FromMaybe () i') => Inputs i' -> Maybe (Inputs (Just (StringHashMap String i))) Source

mappingO :: forall o o'. (o ~ FromMaybe () o') => Outputs o' -> Maybe (Outputs (Just (StringHashMap String o))) Source

statusO :: (e ~ FromMaybe Void e', o ~ FromMaybe () o') => Errors e' -> Outputs o' -> Maybe (Outputs (Just (Status e o))) Source

reasonE :: (e ~ FromMaybe Void e') => Errors e' -> Errors (Just (Reason e)) Source