static-text-0.2.0.6: static-text.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: d21962672e633dd91982eb4e4aa243753a52c798f97d59465c1e11f5cc10da02
name: static-text
version: 0.2.0.6
synopsis: Lists, Texts, ByteStrings and Vectors of statically known length
description: static-text provides type-level safety for basic operations on string-like types (finite lists of elements), such as Data.Text, String (and all lists), Data.ByteString and Data.Vector. Use it when you need static guarantee on lengths of strings produced in your code.
category: Data, Text, Type System
homepage: https://github.com/dzhus/static-text#readme
bug-reports: https://github.com/dzhus/static-text/issues
author: Dmitry Dzhus
maintainer: dima@dzhus.org
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/dzhus/static-text
flag bytestring
description: Build interface for ByteString
manual: False
default: True
flag text
description: Build interface for Text
manual: False
default: True
flag vector
description: Build interface for Vector
manual: False
default: True
library
exposed-modules:
Data.StaticText
Data.StaticText.Class
Data.StaticText.TH
other-modules:
Paths_static_text
hs-source-dirs:
src
ghc-options: -Wall -Wcompat
build-depends:
base <5
, template-haskell
if flag(bytestring)
cpp-options: -DWITH_BS
build-depends:
bytestring
if flag(text)
cpp-options: -DWITH_TEXT
build-depends:
text
if flag(vector)
cpp-options: -DWITH_VECTOR
build-depends:
vector
default-language: Haskell2010
test-suite readme
type: exitcode-stdio-1.0
main-is: README.lhs
other-modules:
Paths_static_text
ghc-options: -Wall -Wcompat -pgmL markdown-unlit
build-depends:
base <5
, bytestring
, markdown-unlit
, static-text
, template-haskell
default-language: Haskell2010
test-suite static-text-doctests
type: exitcode-stdio-1.0
main-is: doctest-driver.hs
other-modules:
Main
Paths_static_text
hs-source-dirs:
tests
ghc-options: -Wall -Wcompat -threaded
build-depends:
base <5
, doctest
, doctest-driver-gen
, template-haskell
default-language: Haskell2010
test-suite static-text-example
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_static_text
hs-source-dirs:
tests
ghc-options: -Wall -Wcompat
build-depends:
base <5
, bytestring
, static-text
, tasty
, tasty-hunit
, template-haskell
default-language: Haskell2010