aboutsummaryrefslogtreecommitdiff
path: root/tests/bkpregex/bkpregex.cabal
blob: 678ddbbe64ce1748f89c3cde1cb88c6ceb6b6932 (plain) (blame)
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
name:                bkpregex
version:             0.1.0.0
build-type:          Simple
cabal-version:       >=2.0

library str-impls
  build-depends:       base, bytestring
  exposed-modules:     Str.String, Str.ByteString
  hs-source-dirs:      str-impls

library regex-types
  build-depends:       base
  exposed-modules:     Regex.Types
  hs-source-dirs:      regex-types

library regex-indef
  build-depends:       base, regex-types
  signatures:          Str
  exposed-modules:     Regex
  hs-source-dirs:      regex-indef

executable regex-example
  main-is:             Main.hs
  build-depends:       base, regex-indef, regex-types, str-impls
  mixins:              regex-indef (Regex as Regex.String)
                          requires (Str as Str.String),
                       regex-indef (Regex as Regex.ByteString)
                          requires (Str as Str.ByteString)
  hs-source-dirs:      regex-example