servant-0.2.1: A family of combinators for defining webservices APIs

Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.Common.Text

Synopsis

Documentation

class FromText a where Source

For getting values from url captures and query string parameters

Methods

fromText :: Text -> Maybe a Source

class ToText a where Source

For putting values in paths and query string parameters

Methods

toText :: a -> Text Source