text-class-2022.7.1: Extra helpers to convert data-types to and from Text
Safe Haskell None
Language Haskell2010

Test.Text.Roundtrip

Synopsis

Documentation

textRoundtrip :: forall a. ( Arbitrary a, Eq a, Show a, ToText a, FromText a, Typeable a) => Proxy a -> Spec Source #

Constructs a test to check that roundtrip textual encoding and decoding is possible for values of the given type.