servant-benchmark-0.1.1.1: Generate benchmark files from a Servant API
Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.Benchmark.ToText

Synopsis

Documentation

class ToText a where Source #

Types that can be converted to Text and serialized.

Methods

toText :: a -> Text Source #

Instances

Instances details
(HasText a ~ textType, HasTextRepresentation textType a) => ToText a Source # 
Instance details

Defined in Servant.Benchmark.ToText

Methods

toText :: a -> Text Source #