formatting-7.0.0.2: formatting.cabal
cabal-version: 2.4
name: formatting
version: 7.0.0.2
synopsis: Combinator-based type-safe formatting (like printf() or FORMAT)
description: Combinator-based type-safe formatting (like printf() or FORMAT), modelled from the HoleyMonoids package.
.
See the README at <https://github.com/AJChapman/formatting/blob/master/README.md> for more info.
homepage: https://github.com/AJChapman/formatting/blob/master/README.md
bug-reports: https://github.com/AJChapman/formatting/issues
license: BSD-3-Clause
license-file: LICENSE
author: Chris Done, Shachaf Ben-Kiki, Martijn van Steenbergen, Mike Meyer, Bryan O'Sullivan, Alex Chapman
maintainer: alex@farfromthere.net
copyright: 2020 Alex Chapman, 2013 Chris Done, Shachaf Ben-Kiki, Martijn van Steenbergen, Mike Meyer, 2011 MailRank, Inc.
category: Text
build-type: Simple
extra-source-files: CHANGELOG.md
README.md
tested-with: GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.1
common deps
build-depends:
base >= 4.11 && < 5,
text >= 0.11.0.8,
time >= 1.5,
old-locale,
scientific >= 0.3.0.0,
clock >= 0.4,
ghc-prim,
text >= 0.11.0.8,
transformers,
integer-gmp >= 0.2,
double-conversion ^>= 2.0.2.0
-- Warnings list list taken from
-- https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-- Enable all warnings with -Weverything, then disable the ones we
-- don’t care about
default-language: Haskell2010
ghc-options: -Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missed-specialisations
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-deriving-strategies
-Wno-safe
-Wno-unsafe
-fprint-potential-instances
if impl(ghc >= 8.10)
ghc-options: -Wno-prepositive-qualified-module
-Wno-missing-safe-haskell-mode
cpp-options: -DINTEGER_GMP
library
import: deps
exposed-modules:
Formatting
Formatting.Formatters
Formatting.ShortFormatters
Formatting.Combinators
Formatting.Examples
Formatting.Time
Formatting.Clock
Formatting.Internal
Formatting.Internal.Raw
Formatting.Buildable
other-modules:
Data.Text.Format.Functions
Data.Text.Format.Types
Data.Text.Format
Data.Text.Format.Int
hs-source-dirs: src
test-suite formatting-test
import: deps
build-depends: formatting, hspec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
source-repository head
type: git
location: http://github.com/AJChapman/formatting