-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3621c6a
commit 92bac59
Showing
1 changed file
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
cabal-version: 2.2 | ||
name: unpacked-maybe-numeric | ||
version: 0.1.3.1 | ||
synopsis: maybes of numeric values with fewer indirections | ||
cabal-version: 2.2 | ||
name: unpacked-maybe-numeric | ||
version: 0.1.3.1 | ||
synopsis: maybes of numeric values with fewer indirections | ||
description: | ||
This library provides one `Maybe` type per the usual numeric types: | ||
Float, Double, Complex {Float|Double}, Int{8|16|32|64}, and Word{8|16|32|64|128} | ||
|
@@ -12,18 +12,25 @@ description: | |
to the `Nothing` value. Thus, the use of these constructors is unsafe, as this is only | ||
checked internally. | ||
|
||
homepage: https://github.com/byteverse/unpacked-maybe-numeric | ||
bug-reports: https://github.com/byteverse/unpacked-maybe-numeric/issues | ||
author: Andrew Martin, chessai | ||
maintainer: [email protected], [email protected] | ||
category: Data | ||
copyright: 2018 Andrew Martin | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
build-type: Simple | ||
extra-source-files: README.md | ||
homepage: https://github.com/byteverse/unpacked-maybe-numeric | ||
bug-reports: https://github.com/byteverse/unpacked-maybe-numeric/issues | ||
author: Andrew Martin, chessai | ||
maintainer: [email protected], [email protected] | ||
category: Data | ||
copyright: 2018 Andrew Martin | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
build-type: Simple | ||
extra-doc-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
common build-settings | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -Wunused-packages | ||
|
||
library | ||
import: build-settings | ||
exposed-modules: | ||
Data.Maybe.Unpacked.Numeric.Complex.Double | ||
Data.Maybe.Unpacked.Numeric.Complex.Float | ||
|
@@ -41,32 +48,28 @@ library | |
Data.Maybe.Unpacked.Numeric.Word64 | ||
Data.Maybe.Unpacked.Numeric.Word8 | ||
|
||
hs-source-dirs: src | ||
hs-source-dirs: src | ||
build-depends: | ||
, base >=4.17.1.0 && <5 | ||
, primitive >=0.6.4 | ||
, wide-word >=0.1.0.8 && <0.2 | ||
, word-compat >=0.0.4 && <0.1 | ||
|
||
ghc-options: -Wall -O2 | ||
default-language: Haskell2010 | ||
ghc-options: -O2 | ||
|
||
test-suite spec | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
type: exitcode-stdio-1.0 | ||
main-is: spec.hs | ||
hs-source-dirs: test | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
main-is: spec.hs | ||
hs-source-dirs: test | ||
build-depends: | ||
, base | ||
, unpacked-maybe-numeric | ||
|
||
test-suite laws | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
type: exitcode-stdio-1.0 | ||
main-is: laws.hs | ||
hs-source-dirs: test | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
main-is: laws.hs | ||
hs-source-dirs: test | ||
build-depends: | ||
, base | ||
, QuickCheck | ||
|