servant-purescript-0.8.0.0: Generate PureScript accessor functions for you servant API

Safe HaskellNone
LanguageHaskell2010

Servant.PureScript.CodeGen

Synopsis

Documentation

genFnHead :: Text -> [Text] -> Doc #

reqToParams :: Req PSType -> [Param PSType] #

Extract all function parameters from a given Req.

urlToParams :: Url f -> [Param f] #

psVar :: Text -> Doc #

Little helper for generating valid variable names