command-qq: Quasiquoters for external commands
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Features:
Quasiquotation syntax for external interpreters
>>> [sh_| echo hello world! |] hello world!
Custom quasiquoters
ghci = quoter $ callCommand "ghc" ["-ignore-dot-ghci", "-e"]
Then you can use ghci
in ghci!
>>> [ghci| putStrLn "hello world!" |] :: IO () hello world!
For more examples, see System.Command.QQ.Predef
Haskell values embedding
See README.md for an example
DSLs
See examples/CommandT.hs
[Skip to Readme]
Properties
Versions | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.1.0, 0.2.2.0, 0.3.0.0, 0.3.1.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4 && <5), process, template-haskell, text [details] |
License | BSD-3-Clause |
Author | Matvey Aksenov |
Maintainer | matvey.aksenov@gmail.com |
Category | System |
Home page | http://biegunka.github.io/command-qq/ |
Source repo | head: git clone https://github.com/biegunka/command-qq this: git clone https://github.com/biegunka/command-qq(tag 0.2.1.0) |
Uploaded | by MatveyAksenov at 2014-05-29T07:05:14Z |
Modules
[Index]
Downloads
- command-qq-0.2.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees