rest-core-0.39: 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 #