servant-purescript-0.9.0.1: Generate PureScript accessor functions for you servant API
Servant.PureScript.MakeRequests
subscriberImportLines :: Map Text ImportLine Source #
genModule :: Settings -> [Req PSType] -> Doc Source #
genFunction :: [PSParam] -> Req PSType -> Doc Source #
genSignature :: Text -> [PSType] -> Maybe PSType -> Doc Source #
genFnBody :: [PSParam] -> Req PSType -> Doc Source #
genBuildPath :: Path PSType -> Doc Source #
genBuildSegment :: SegmentType PSType -> Doc Source #
genBuildQuery :: [QueryArg PSType] -> Doc Source #
genBuildQueryArg :: QueryArg PSType -> Doc Source #
genBuildHeaders :: [HeaderArg PSType] -> Doc Source #
genBuildHeader :: HeaderArg PSType -> Doc Source #
psHttpRequest :: PSType Source #