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.13), transformers [details]
License LicenseRef-GPL
Author Jose Iborra <>
Maintainer Jose Iborra <>
Category Development
Home page
Source repo head: darcs get
Uploaded by PepeIborra at Thu Jul 27 21:55:12 UTC 2017
Distributions NixOS:
Downloads 1510 total (24 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-07-27 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for arrowp-qq-0.1.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 |]