cabal-version: 3.0 name: formatn version: 0.3.0.1 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 ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.2.5 || ==9.4.7 || ==9.6.3 || ==9.8.1 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 if impl ( ghc >= 9.2 ) default-language: GHC2021 if impl ( ghc < 9.2 ) default-language: Haskell2010 default-extensions: BangPatterns BinaryLiterals ConstrainedClassMethods ConstraintKinds DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveLift DeriveTraversable DoAndIfThenElse EmptyCase EmptyDataDecls EmptyDataDeriving ExistentialQuantification ExplicitForAll FlexibleContexts FlexibleInstances ForeignFunctionInterface GADTSyntax GeneralisedNewtypeDeriving HexFloatLiterals ImplicitPrelude InstanceSigs KindSignatures MonomorphismRestriction MultiParamTypeClasses NamedFieldPuns NamedWildCards NumericUnderscores PatternGuards PolyKinds PostfixOperators RankNTypes RelaxedPolyRec ScopedTypeVariables StandaloneDeriving StarIsType TraditionalRecordSyntax TupleSections TypeApplications TypeOperators TypeSynonymInstances if impl ( ghc < 9.2 ) && impl ( ghc >= 8.10 ) default-extensions: ImportQualifiedPost StandaloneKindSignatures library import: ghc-options-stanza import: ghc2021-stanza hs-source-dirs: src build-depends: -- just for cabal-docspec --check-properties , QuickCheck >=2.14.2 && <2.15 , base >=4.7 && <5 , containers >=0.6 && <0.8 , text >=1.2 && <2.2 exposed-modules: Data.FormatN