File: ap-normalize.cabal

package info (click to toggle)
haskell-ap-normalize 0.1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: haskell: 199; makefile: 3
file content (57 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download | duplicates (2)
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
cabal-version: >=1.10

name:    ap-normalize
version: 0.1.0.1
synopsis: Self-normalizing applicative expressions
description:
  An applicative functor transformer to normalize expressions using @(\<$>)@,
  @(\<*>)@, and @pure@ into a linear list of actions.

  See "ApNormalize" to get started.

bug-reports: https://gitlab.com/lysxia/ap-normalize/-/issues
license: MIT
license-file: LICENSE
author:       Li-yao Xia
maintainer:   lysxia@gmail.com
copyright:    Li-yao Xia 2020
category:     Control
build-type:   Simple
extra-source-files:  CHANGELOG.md, README.md

library
  hs-source-dirs: src
  exposed-modules:
    ApNormalize
    ApNormalize.Aps
    ApNormalize.DList
  build-depends:       base >=4.8 && <5
  ghc-options: -Wall
  default-language:    Haskell2010

test-suite example-test
  main-is: example.hs
  type:    exitcode-stdio-1.0
  hs-source-dirs:   test
  default-language: Haskell2010
  build-depends:
    base,
    inspection-testing,
    ap-normalize

test-suite assoc-test
  main-is: assoc.hs
  type:    exitcode-stdio-1.0
  hs-source-dirs:   test
  default-language: Haskell2010
  build-depends:
    base,
    inspection-testing,
    transformers,
    ap-normalize
  if flag(test-with-clang)
    ghc-options: -pgmP "clang -E -traditional -x c"

flag test-with-clang
  manual: True
  default: False