arrowp-qq-0.3.0: arrowp-qq.cabal
Name: arrowp-qq
Version: 0.3.0
Cabal-Version: >= 2.0
Build-Type: Simple
License: GPL
License-File: LICENCE
Author: Jose Iborra <pepeiborra@gmail.com>
Maintainer: John 'Ski <riuga@tuta.io>
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 >= 4.7 && < 5,
NoHoed >= 0.1.1 && < 0.2,
template-haskell >= 2.14.0 && < 2.15,
containers >= 0.6.0 && < 0.7,
data-default >= 0.7.1 && < 0.8,
haskell-src-exts >= 1.22.0 && < 1.23,
transformers >= 0.5.6 && < 0.6,
haskell-src-exts-util >= 0.2.5 && < 0.3,
uniplate >= 1.6.12 && < 1.7,
haskell-src-meta >= 0.8.5 && < 0.9
if flag(Debug)
Build-Depends: Hoed > 0.3.6, haskell-src-exts-observe
cpp-options: -DDEBUG
else
Build-Depends: NoHoed >= 0.1.1
Hs-Source-Dirs: src
Other-Modules: ArrCode ArrSyn NewCode SrcLocs Utils
Default-Language: Haskell2010
executable arrowp
buildable: True
main-is: Main.hs
hs-source-dirs:
app
build-depends:
base, haskell-src-exts, arrowp-qq
if flag(Debug)
Build-Depends: Hoed
cpp-options: -DDEBUG
else
Build-Depends: NoHoed
default-language: Haskell2010
test-suite examples
default-language: Haskell2010
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,
ArrowContext,
CGI,
Conditional,
Circuits,
Hom,
ListOps,
Egs,
Eval,
Eval1,
GHC,
Lift,
ListOps,
Static,
TH.TH,
TH.While,
TH.BackstateArrow
build-depends:
base, arrows, arrowp-qq, template-haskell