quickcheck-text-0.1.0.0: Alternative arbitrary instance for Text

Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Text.Arbitrary

Synopsis

Documentation

data Text :: *

A space efficient, packed, unboxed Unicode text type.

Instances

IsList Text 
Eq Text 
Data Text

This instance preserves data abstraction at the cost of inefficiency. We omit reflection services for the sake of data abstraction.

This instance was created by copying the updated behavior of Data.Set.Set and Data.Map.Map. If you feel a mistake has been made, please feel free to submit improvements.

The original discussion is archived here: could we get a Data instance for Data.Text.Text?

The followup discussion that changed the behavior of Set and Map is archived here: Proposal: Allow gunfold for Data.Map, ...

Ord Text 
Read Text 
Show Text 
IsString Text 
Arbitrary Text 
Monoid Text 
Binary Text 
NFData Text 
Typeable * Text 
type Item Text = Char