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 [RSS] [faq] 0.1, 0.1.1, 0.2,, 0.2.1,, 0.3.0
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 2017-07-27T21:55:12Z
Distributions NixOS:0.3.0
Downloads 4590 total (33 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-07-27 [all 1 reports]




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 |]