formatn-0.3.1.0: formatn.cabal
cabal-version: 3.0
name: formatn
version: 0.3.1.0
license: BSD-3-Clause
license-file: LICENSE
copyright: Tony Day (c) 2016
category: text
author: Tony Day
maintainer: tonyday567@gmail.com
homepage: https://github.com/tonyday567/formatn#readme
bug-reports: https://github.com/tonyday567/formatn/issues
synopsis: Formatting of doubles.
description:
This package provides support for number formatting styles, especially styles involving significant figure calculations.
== Usage
>>> import Data.FormatN
>>> comma (Just 3) 1234
1,230
build-type: Simple
tested-with:
, GHC == 9.10.1
, GHC == 9.6.5
, GHC == 9.8.2
extra-doc-files:
ChangeLog.md
readme.md
source-repository head
type: git
location: https://github.com/tonyday567/formatn
common ghc-options-stanza
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
common ghc2021-stanza
default-language: GHC2021
library
import: ghc-options-stanza
import: ghc2021-stanza
hs-source-dirs: src
build-depends:
, base >=4.14 && <5
, containers >=0.6 && <0.8
, text >=1.2 && <2.2
exposed-modules: Data.FormatN
test-suite doctests
import: ghc2021-stanza
main-is: doctests.hs
hs-source-dirs: test
build-depends:
, QuickCheck >=2.14.2 && <2.16
, base >=4.14 && <5
, doctest-parallel >=0.3 && <0.4
ghc-options: -threaded
type: exitcode-stdio-1.0