Default instances for (lazy and strict) Text and Text Builder. https://github.com/trskop/data-default-extra
|Latest on Hackage:||0.0.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Default instances for types defined in text package:
instance Default Strict.Text where def = Strict.Text.empty instance Default Lazy.Text where def = Lazy.Text.empty -- For text >=0.8 instance Default Builder where def = mempty
Following instances are provided only for text >=0.8, since that
it the version that introduced
instance Default Builder where def = mempty
The BSD 3-Clause License, see LICENSE file for details.
Contributions, pull requests and bug reports are welcome! Please don’t be afraid to contact author using GitHub or by e-mail.