arrowp-qq-0.2: arrowp-qq.cabal
Name: arrowp-qq
Version: 0.2
Cabal-Version: >= 1.20
Build-Type: Simple
License: GPL
License-File: LICENCE
Author: Jose Iborra <pepeiborra@gmail.com>
Maintainer: Jose Iborra <pepeiborra@gmail.com>
Homepage: https://github.com/pepeiborra/arrowp
Category: Development
Synopsis: A preprocessor and quasiquoter for translating arrow notation
Description: A suite of preprocessor and quasiquoter to desugar arrow notation built on top of Ross Paterson's arrowp and the venerable haskell-src-exts.
Extra-Source-Files: README.md
Flag Debug
Description: Enabled Hoed algorithmic debugging
Default: False
Manual: True
Flag TestExamples
Description: Build the examples using the preprocessor and quasiquoter
Default: False
Manual: True
Source-Repository head
Type: git
Location: http://github.com/pepeiborra/arrowp
Library
Exposed-Modules:
Control.Arrow.Notation,
Control.Arrow.QuasiQuoter
Build-Depends: base < 5,
array,
containers,
data-default,
haskell-src-exts,
haskell-src-exts-util,
haskell-src-meta,
syb,
template-haskell < 2.13,
transformers,
uniplate
if flag(Debug)
Build-Depends: Hoed, haskell-src-exts-observe
cpp-options: -DDEBUG
else
Build-Depends: NoHoed
Hs-Source-Dirs: src
Other-Modules: ArrCode ArrSyn Utils
Default-Language: Haskell2010
executable arrowp-ext
buildable: True
main-is: Main.hs
hs-source-dirs:
app
build-depends:
base >= 4.7 && < 5,
arrowp-qq,
haskell-src-exts
if flag(Debug)
Build-Depends: Hoed
cpp-options: -DDEBUG
else
Build-Depends: NoHoed
default-language: Haskell2010
test-suite examples
if flag(TestExamples)
buildable: True
else
buildable: False
type: exitcode-stdio-1.0
hs-source-dirs:
examples,
examples/cgi,
examples/circuits,
examples/Parser,
examples/powertrees,
examples/small
main-is: Main.hs
other-modules:
Parser,
ExprParser,
BackStateArrow,
Conditional,
ListOps,
Egs,
Eval,
Eval1,
Lift,
ListOps,
TH.TH,
TH.While,
TH.BackStateArrow
build-depends:
base, arrows, arrowp-qq, template-haskell