hydrogen-prelude-parsec (empty) → 0.16
raw patch · 6 files changed
+80/−0 lines, 6 filesdep +basedep +hydrogen-preludedep +parsecsetup-changed
Dependencies added: base, hydrogen-prelude, parsec
Files
- CHANGELOG.md +2/−0
- LICENSE +19/−0
- README.md +6/−0
- Setup.hs +2/−0
- hydrogen-prelude-parsec.cabal +26/−0
- src/Hydrogen/Prelude/Parsec.hs +25/−0
+ CHANGELOG.md view
@@ -0,0 +1,2 @@+## v0.16++ initial release
+ LICENSE view
@@ -0,0 +1,19 @@+Copyright (c) 2014 Julian Fleischer++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.
+ README.md view
@@ -0,0 +1,6 @@+hydrogen-prelude-parsec+=======================++[](https://travis-ci.org/scravy/hydrogen-prelude-parsec)++
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ hydrogen-prelude-parsec.cabal view
@@ -0,0 +1,26 @@+name: hydrogen-prelude-parsec+version: 0.16+homepage: http://scravy.de/hydrogen-prelude-parsec/+synopsis: Hydrogen Prelude /w Parsec+license: MIT+license-file: LICENSE+extra-source-files: CHANGELOG.md, README.md+author: Julian Fleischer+maintainer: julian@scravy.de+category: Language+build-type: Simple+cabal-version: >=1.14++source-repository head+ type: git+ location: https://github.com/scravy/hydrogen-prelude-prelude++library+ exposed-modules: Hydrogen.Prelude.Parsec+ build-depends: base >=4.7 && <5+ , hydrogen-prelude ==0.16+ , parsec ==3.*+ hs-source-dirs: src+ ghc-options: -Wall+ default-language: Haskell2010+
+ src/Hydrogen/Prelude/Parsec.hs view
@@ -0,0 +1,25 @@+module Hydrogen.Prelude.Parsec (+ module Hydrogen.Prelude+ , module Text.Parsec+ , (<:>)+ , (<++>)+ ) where++import Hydrogen.Prelude hiding (+ (<|>),+ many,+ label,+ optional,+ lookAhead)+import Text.Parsec+++(<:>) :: Applicative a => a e -> a [e] -> a [e]+(<:>) = liftA2 (:)+infixr 5 <:>++(<++>) :: Applicative a => a [e] -> a [e] -> a [e]+(<++>) = liftA2 (++)+infixr 5 <++>++