The data-default-instances-unordered-containers package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

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]

Properties

Versions0.0.1, 0.0.1
Change logChangeLog.md
Dependenciesdata-default-class (==0.0.*), unordered-containers (>=0.1.3 && <0.3) [details]
LicenseBSD3
Copyright(c) 2015-2016, Peter Trško
AuthorPeter Trško
Maintainerpeter.trsko@gmail.com
CategoryData
Home pagehttps://github.com/trskop/data-default-extra
Bug trackerhttps://github.com/trskop/data-default-extra/issues
Source repositoryhead: 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)
UploadedSun Feb 7 21:19:52 UTC 2016 by PeterTrsko

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

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

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.