name: data-default-instances-vector
version: 0.0.1
synopsis: Default instances for types defined in vector package
description:
Orphan instances for @Default@ type class, which is defined in package
<https://hackage.haskell.org/package/data-default-class data-default-class>.
.
Following @Default@ instances are provided:
.
> instance Default (Vector a) where
> def = empty
>
> -- Storable Vector:
> instance Storable a => Default (Vector a) where
> def = empty
>
> -- Unboxed Vector:
> instance Unbox a => Default (Vector a) where
> def = empty
homepage: https://github.com/trskop/data-default-extra
bug-reports: https://github.com/trskop/data-default-extra/issues
license: BSD3
license-file: LICENSE
author: Peter Trško
maintainer: peter.trsko@gmail.com
copyright: (c) 2015-2016, Peter Trško
category: Data
build-type: Simple
cabal-version: >=1.10
extra-source-files: ChangeLog.md, README.md
library
hs-source-dirs: src
exposed-modules: Data.Default.Instances.Vector
-- other-modules:
default-language: Haskell2010
other-extensions: NoImplicitPrelude
build-depends:
vector >=0.5 && <1
, data-default-class ==0.0.*
ghc-options: -Wall -fwarn-tabs
source-repository head
type: git
location: git://github.com/trskop/data-default-extra.git
source-repository this
type: git
location: git://github.com/trskop/data-default-extra.git
tag: vector-v0.0.1