1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
cabal-version: 3.0
name: text-builder
version: 0.6.7.2
category: Text, Builders
synopsis: Efficient strict text builder
description: Text formatting library and efficient builder library.
homepage: https://github.com/nikita-volkov/text-builder
bug-reports: https://github.com/nikita-volkov/text-builder/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2017, Nikita Volkov
license: MIT
license-file: LICENSE
source-repository head
type: git
location: git://github.com/nikita-volkov/text-builder.git
common base
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
NoMonomorphismRestriction
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
LambdaCase
LiberalTypeSynonyms
MagicHash
MultiParamTypeClasses
MultiWayIf
OverloadedStrings
ParallelListComp
PatternGuards
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
UnboxedTuples
library
import: base
hs-source-dirs: library
exposed-modules: Text.Builder
other-modules: Text.Builder.Prelude
build-depends:
, base >=4.11 && <5
, bytestring >=0.10 && <0.13
, text >=1.2 && <3
, text-builder-dev >=0.3.4.1 && <0.4
test-suite test
import: base
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, rerebase <2
, tasty >=1.2.3 && <2
, tasty-hunit >=0.10.0.2 && <0.11
, tasty-quickcheck >=0.10.1 && <0.11
, text-builder
benchmark benchmark-text
import: base
type: exitcode-stdio-1.0
hs-source-dirs: benchmark-text
ghc-options: -O2 -threaded -with-rtsopts=-N -funbox-strict-fields
main-is: Main.hs
build-depends:
, criterion >=1.5.6.1 && <2
, rerebase >=1 && <2
, text-builder
benchmark benchmark-char
import: base
type: exitcode-stdio-1.0
hs-source-dirs: benchmark-char
ghc-options: -O2 -threaded -with-rtsopts=-N -funbox-strict-fields
main-is: Main.hs
build-depends:
, criterion >=1.5.6.1 && <2
, rerebase >=1 && <2
, text-builder
|