arrowp-qq: quasiquoter translating arrow notation into Haskell 98

[ development, library, program ] [ Propose Tags ]

A quasiquoter built on top of the arrowp package.

[Skip to Readme]
Versions 0.1, 0.1.1, 0.2,, 0.2.1,
Dependencies array, base (<5), containers, haskell-src, template-haskell (<2.12), transformers [details]
License LicenseRef-GPL
Author Jose Iborra <>
Maintainer Jose Iborra <>
Category Development
Home page
Source repo head: darcs get
Uploaded by PepeIborra at Wed Jun 14 12:59:25 UTC 2017
Distributions NixOS:
Downloads 1691 total (19 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-06-14 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for arrowp-qq-0.1

[back to package description]
A prototype quasiquoter for arrow notation packaged by Jose Iborra,
based on the arrowp preprocessor developed by Ross Paterson <>.

Note that recent versions of GHC support this notation directly, and
give better error messages to boot. But the translation produced by GHC
is in some cases not as good as it could be.


addA :: Arrow a => a b Int -> a b Int -> a b Int
addA f g = [proc| x -> do
		y <- f -< x
		z <- g -< x
		returnA -< y + z |]