packages feed

haskell-src-exts-qq-0.2: haskell-src-exts-qq.cabal

Name:           haskell-src-exts-qq
Version:        0.2
Author:         Mathieu Boespflug
Maintainer:     Mathieu Boespflug <mboes@tweag.net>
Synopsis:       A quasiquoter for haskell-src-exts.
Description:
    Allows one to write programs that generate Haskell programs much
    more concisely and legibly. This package supports:
    .
    * Antiquotations, denoted by stealing the splice syntax of
    Template Haskell, for example @[hs| $x ++ $(Hs.strE "bar") |]@.
    Splices may not nested.

    * Antiquoting names in patterns. Names that are antiquoted appear
    surrounded by double parentheses. For instance:
    .
    > let f = Hs.name "foo" in [hs| ((f)) x = x + x |]
Category:       Language
License:        BSD3
License-File:   LICENSE
Cabal-Version:  >= 1.8.0
Build-Type:     Simple
Tested-With:    GHC == 6.12

source-repository head
  type:     git
  location: git://github.com/mboes/haskell-src-exts-qq

library
  Build-Depends:  base >= 4 && < 5, syb, template-haskell,
                  -- xxx awaiting cabal fix.
                  haskell-src-exts == 1.8.2
  Extensions:      PatternGuards, TypeSynonymInstances, TemplateHaskell, CPP
  Exposed-Modules: Language.Haskell.Exts.QQ
                   Language.Haskell.Exts.Translate
  cpp-options:    -DVERSION_haskell_src_exts="1.8.2"