-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypelits-printf.cabal
70 lines (59 loc) · 2.06 KB
/
typelits-printf.cabal
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
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.1.
--
-- see: https://github.com/sol/hpack
name: typelits-printf
version: 0.3.0.0
synopsis: Type-safe printf from parsing GHC TypeLits Symbol
description:
An extensible and type-safe printf from parsing GHC TypeLits Symbol
literals, matching the semantics of 'P.printf' from "Text.Printf" in /base/.
The difference is that the variants here will always fail to compile if
given arguments of the wrong type (or too many or too little arguments).
Most of the variants also provide useful type feedback, telling you the type
of arguments it expects and how many when queried with @:t@ or with typed
holes.
.
See README and documentation of "GHC.TypeLits.Printf" for more information
category: Text
homepage: https://github.com/mstksg/typelits-printf#readme
bug-reports: https://github.com/mstksg/typelits-printf/issues
author: Justin Le
maintainer: [email protected]
copyright: (c) Justin Le 2019
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with: GHC >=9.2
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/mstksg/typelits-printf
library
exposed-modules:
GHC.TypeLits.Printf
GHC.TypeLits.Printf.Internal
other-modules:
GHC.TypeLits.Printf.Internal.Parser
GHC.TypeLits.Printf.Internal.Unsatisfiable
GHC.TypeLits.Printf.Parse
hs-source-dirs: src
ghc-options: -Wall -Wcompat -Werror=incomplete-patterns
build-depends:
base >=4.16 && <5
, text
default-language: Haskell2010
test-suite typelits-printf-test
type: exitcode-stdio-1.0
main-is: spec.hs
hs-source-dirs: test
ghc-options:
-Wall -Wcompat -Wredundant-constraints -threaded -rtsopts
-with-rtsopts=-N -O2 -freduction-depth=0
build-depends:
base >=4.9 && <5
, hspec
, typelits-printf
default-language: Haskell2010