Description
Default instances for unordered-containers.
Description
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
README.md
data-default-instances-unordered-containers
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.