|
| 1 | +cabal-version: 3.0 |
| 2 | +name: constrained-generators |
| 3 | +version: 0.2.0.0 |
| 4 | +license: Apache-2.0 |
| 5 | + |
| 6 | +author: IOHK |
| 7 | +synopsis: |
| 8 | + Framework for generating constrained random data using |
| 9 | + a subset of first order logic |
| 10 | + |
| 11 | +build-type: Simple |
| 12 | +extra-source-files: CHANGELOG.md |
| 13 | + |
| 14 | +source-repository head |
| 15 | + type: git |
| 16 | + location: https://github.com/input-output-hk/constrained-generators |
| 17 | + |
| 18 | +library |
| 19 | + exposed-modules: |
| 20 | + Constrained.API |
| 21 | + Constrained.API.Extend |
| 22 | + Constrained.AbstractSyntax |
| 23 | + Constrained.Base |
| 24 | + Constrained.Conformance |
| 25 | + Constrained.Core |
| 26 | + Constrained.DependencyInjection |
| 27 | + Constrained.Env |
| 28 | + Constrained.FunctionSymbol |
| 29 | + Constrained.GenT |
| 30 | + Constrained.Generation |
| 31 | + Constrained.Generic |
| 32 | + Constrained.Graph |
| 33 | + Constrained.List |
| 34 | + Constrained.NumOrd |
| 35 | + Constrained.PrettyUtils |
| 36 | + Constrained.Properties |
| 37 | + Constrained.Spec.List |
| 38 | + Constrained.Spec.Map |
| 39 | + Constrained.Spec.Set |
| 40 | + Constrained.Spec.SumProd |
| 41 | + Constrained.Spec.Tree |
| 42 | + Constrained.SumList |
| 43 | + Constrained.Syntax |
| 44 | + Constrained.Test |
| 45 | + Constrained.TheKnot |
| 46 | + Constrained.TypeErrors |
| 47 | + |
| 48 | + hs-source-dirs: src |
| 49 | + default-language: Haskell2010 |
| 50 | + ghc-options: |
| 51 | + -Wall |
| 52 | + -Wcompat |
| 53 | + -Wincomplete-record-updates |
| 54 | + -Wincomplete-uni-patterns |
| 55 | + -Wpartial-fields |
| 56 | + -Wredundant-constraints |
| 57 | + -Wunused-packages |
| 58 | + |
| 59 | + build-depends: |
| 60 | + QuickCheck >=2.14, |
| 61 | + base >=4.18 && <5, |
| 62 | + base-orphans, |
| 63 | + containers, |
| 64 | + mtl, |
| 65 | + prettyprinter, |
| 66 | + random, |
| 67 | + template-haskell, |
| 68 | + |
| 69 | +library examples |
| 70 | + exposed-modules: |
| 71 | + Constrained.Examples |
| 72 | + Constrained.Examples.Basic |
| 73 | + Constrained.Examples.BinTree |
| 74 | + Constrained.Examples.CheatSheet |
| 75 | + Constrained.Examples.Either |
| 76 | + Constrained.Examples.Fold |
| 77 | + Constrained.Examples.List |
| 78 | + Constrained.Examples.ManualExamples |
| 79 | + Constrained.Examples.Map |
| 80 | + Constrained.Examples.Set |
| 81 | + Constrained.Examples.Tree |
| 82 | + |
| 83 | + hs-source-dirs: examples |
| 84 | + default-language: Haskell2010 |
| 85 | + ghc-options: |
| 86 | + -Wall |
| 87 | + -Wcompat |
| 88 | + -Wincomplete-record-updates |
| 89 | + -Wincomplete-uni-patterns |
| 90 | + -Wpartial-fields |
| 91 | + -Wredundant-constraints |
| 92 | + -Wunused-packages |
| 93 | + |
| 94 | + build-depends: |
| 95 | + QuickCheck >=2.14, |
| 96 | + base >=4.18 && <5, |
| 97 | + constrained-generators, |
| 98 | + containers, |
| 99 | + prettyprinter, |
| 100 | + random, |
| 101 | + |
| 102 | +library testlib |
| 103 | + exposed-modules: |
| 104 | + Test.Minimal.Base |
| 105 | + Test.Minimal.Model |
| 106 | + Test.Minimal.Syntax |
| 107 | + Test.Minimal.Tuple |
| 108 | + |
| 109 | + hs-source-dirs: testlib |
| 110 | + default-language: Haskell2010 |
| 111 | + ghc-options: |
| 112 | + -Wall |
| 113 | + -Wcompat |
| 114 | + -Wincomplete-record-updates |
| 115 | + -Wincomplete-uni-patterns |
| 116 | + -Wpartial-fields |
| 117 | + -Wredundant-constraints |
| 118 | + -Wunused-packages |
| 119 | + |
| 120 | + build-depends: |
| 121 | + QuickCheck >=2.14, |
| 122 | + base >=4.18 && <5, |
| 123 | + constrained-generators, |
| 124 | + containers, |
| 125 | + mtl, |
| 126 | + prettyprinter, |
| 127 | + |
| 128 | +test-suite constrained |
| 129 | + type: exitcode-stdio-1.0 |
| 130 | + main-is: Tests.hs |
| 131 | + hs-source-dirs: test |
| 132 | + other-modules: Constrained.Tests |
| 133 | + default-language: Haskell2010 |
| 134 | + ghc-options: |
| 135 | + -Wall |
| 136 | + -Wcompat |
| 137 | + -Wincomplete-record-updates |
| 138 | + -Wincomplete-uni-patterns |
| 139 | + -Wpartial-fields |
| 140 | + -Wredundant-constraints |
| 141 | + -Wunused-packages |
| 142 | + -rtsopts |
| 143 | + |
| 144 | + build-depends: |
| 145 | + QuickCheck, |
| 146 | + base, |
| 147 | + constrained-generators, |
| 148 | + constrained-generators:examples, |
| 149 | + containers, |
| 150 | + hspec, |
| 151 | + |
| 152 | +benchmark bench |
| 153 | + type: exitcode-stdio-1.0 |
| 154 | + main-is: Main.hs |
| 155 | + hs-source-dirs: bench |
| 156 | + other-modules: Constrained.Bench |
| 157 | + default-language: Haskell2010 |
| 158 | + ghc-options: |
| 159 | + -Wall |
| 160 | + -rtsopts |
| 161 | + |
| 162 | + build-depends: |
| 163 | + base, |
| 164 | + constrained-generators, |
| 165 | + containers, |
| 166 | + criterion, |
| 167 | + deepseq, |
0 commit comments