PermuteEffects 0.1 → 0.1.1
raw patch · 2 files changed
+23/−42 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- ParsecEx.hs +17/−0
- PermuteEffects.cabal +6/−42
+ ParsecEx.hs view
@@ -0,0 +1,17 @@+module ParsecEx where++import Control.Applicative.Permute++import Data.Traversable+import Control.Applicative hiding (some, many)++import Text.Parsec hiding (many, between)++alphabet :: [String]+alphabet = map pure ['a'..'z']++hoogeveen :: [String]+hoogeveen = ["aap", "noot", "mies", "wim"]++example :: [String] -> String -> Either ParseError [String]+example opts = runParser (perms (for opts (once . string)) <* eof) () ""
PermuteEffects.cabal view
@@ -1,58 +1,22 @@--- PermuteEffects.cabal auto-generated by cabal init. For additional--- options, see--- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.--- The name of the package. Name: PermuteEffects---- The package version. See the Haskell package versioning policy--- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for--- standards guiding when and how versions should be incremented.-Version: 0.1---- A short (one-line) description of the package.+Version: 0.1.1 Synopsis: Permutations of effectful computations---- A longer description of the package. -- Description: +Category: Control --- The license under which the package is released. License: BSD3---- The file containing the license text. License-file: LICENSE --- The package author(s). Author: Martijn van Steenbergen---- An email address to which users can send suggestions, bug reports,--- and patches. Maintainer: martijn@van.steenbergen.nl---- A copyright notice.+Homepage: https://github.com/MedeaMelana/PermuteEffects -- Copyright: -Category: Control Build-type: Simple---- Extra files to be distributed with the package, such as examples or--- a README.--- Extra-source-files: ---- Constraint on the version of Cabal needed to build this package.-Cabal-version: >=1.2-+Extra-source-files: ParsecEx.hs+Cabal-version: >= 1.2 Library- -- Modules exported by the library. Exposed-modules: Control.Applicative.Permute- - -- Packages needed in order to build this package.- Build-depends: base >= 4.2 && < 4.3- - -- Modules not exported by this package.- -- Other-modules: - - -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.- -- Build-tools: - + Build-depends: base >= 4.0 && < 4.4