data-default-instances-unordered-containers: Default instances for unordered-containers.

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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

Following Default instances are provided:

instance Default (HashMap k v) where
    def = empty

instance Default (HashSet a) where
    def = empty

[Skip to Readme]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1
Change log ChangeLog.md
Dependencies data-default-class (>=0.0 && <0.2), unordered-containers (>=0.1.3 && <0.3) [details]
License BSD-3-Clause
Copyright (c) 2015-2016, Peter Trško
Author Peter Trško
Maintainer peter.trsko@gmail.com
Revised Revision 1 made by PeterTrsko at 2017-01-05T20:07:12Z
Category Data
Home page https://github.com/trskop/data-default-extra
Bug tracker https://github.com/trskop/data-default-extra/issues
Source repo head: git clone git://github.com/trskop/data-default-extra.git
this: git clone git://github.com/trskop/data-default-extra.git(tag unordered-containers-v0.0.1)
Uploaded by PeterTrsko at 2016-02-07T21:22:34Z
Distributions LTSHaskell:0.0.1, NixOS:0.0.1, Stackage:0.0.1
Reverse Dependencies 1 direct, 4 indirect [details]
Downloads 1587 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-02-12 [all 1 reports]

Readme for data-default-instances-unordered-containers-0.0.1

[back to package description]

data-default-instances-unordered-containers

Hackage Hackage Dependencies Haskell Programming Language BSD3 License

Build

Description

Default instances for types defined in unordered-containers package:

instance Default (HashMap k v) where
    def = HashMap.empty

instance Default (HashSet a) where
    def = HashSet.empty

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.