BSD-3-Clause licensed by Peter Trško
Maintained by [email protected]
This version can be pinned in stack with:data-default-instances-text-0.0.1@sha256:5a8acbe0d420430c2cc2dc7865fa69d179c9ad43dda47aefcc6560fed72e2204,2121

Module documentation for 0.0.1

data-default-instances-text

Hackage Hackage Dependencies Haskell Programming Language BSD3 License

Build

Description

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 Builder:

instance Default Builder where
    def = mempty

This package is intended to be used in conjunction with data-default package or directly with data-default-class package.

License

The BSD 3-Clause License, see LICENSE file for details.

Contributions

Contributions, pull requests and bug reports are welcome! Please don’t be afraid to contact author using GitHub or by e-mail.

Changes

ChangeLog / ReleaseNotes

Version 0.0.1