The data-default-instances-text package

[ Tags: bsd3, data, library ] [ Propose Tags ]

Orphan instances for Default type class, which is defined in package data-default-class.

Following Default instances are provided:

-- Strict Text:
instance Default Text where
    def = empty

-- Lazy Text:
instance Default Text where
    def = empty

Following instances are provided only for text >=0.8, since that it the version that introduced Builder:

instance Default Builder where
    def = mempty

[Skip to Readme]

Properties

Versions 0.0.1
Change log ChangeLog.md
Dependencies base (<6), data-default-class (>=0.0 && <0.2), text (>=0.2 && <2) [details]
License BSD3
Copyright (c) 2016, Peter Trško
Author Peter Trško
Maintainer peter.trsko@gmail.com
Category Data
Home page https://github.com/trskop/data-default-extra
Bug tracker https://github.com/trskop/data-default-extra/issues
Source repository head: git clone git://github.com/trskop/data-default-extra.git
this: git clone git://github.com/trskop/data-default-extra.git(tag text-v0.0.1)
Uploaded Sun Feb 7 14:34:34 UTC 2016 by PeterTrsko
Updated Thu Jan 5 20:07:02 UTC 2017 by PeterTrsko to revision 1
Distributions NixOS:0.0.1
Downloads 142 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-02-12 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for data-default-instances-text-0.0.1

[back to package description]

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.