@hackage data-default-instances-vector0.0.1
Default instances for types defined in vector package
Categories
License
BSD-3-Clause
Maintainer
peter.trsko@gmail.com
Links
Versions
- 0.0.1 Thu, 5 Jan 2017
Installation
Dependencies (2)
- data-default-class >=0.0 && <0.1 || >=0.1 && <0.2
- vector >=0.5 && <1 Show all…
Dependents (2)
@hackage/capnp, @hackage/data-default-extra
data-default-instances-vector
Description
Default instances for types in vector package:
instance Default (Vector a) where
def = empty
instance Storable a => Default (Storable.Vector a) where
def = Storable.empty
instance Unbox a => Default (Unboxed.Vector a) where
def = Unboxed.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.