packages feed

parsek 1.0.1.3 → 1.0.2.0

raw patch · 3 files changed

+4/−9 lines, 3 filessetup-changed

Files

− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
Text/ParserCombinators/Parsek.hs view
@@ -11,13 +11,9 @@ -- -- This module provides the /Parsek/ library developed by Koen Claessen in his -- functional pearl article /Parallel Parsing Processes/, Journal of Functional--- Programming, 14(6), 741&#150;757, Cambridge University Press, 2004:+-- Programming, 14(6), 741-757, Cambridge University Press, 2004: -- -- <http://www.cs.chalmers.se/~koen/pubs/entry-jfp04-parser.html>------ <http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/>------ <http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/code/week3/Parsek.hs>  module Text.ParserCombinators.Parsek   -- basic parser type@@ -133,6 +129,7 @@   Parser f >>= k =     Parser (\fut -> f (\a -> let Parser g = k a in g fut)) +instance MonadFail (Parser s) where   fail s = Parser (\_fut exp -> Fail [(exp,s)])  instance MonadPlus (Parser s) where
parsek.cabal view
@@ -1,5 +1,5 @@ name:           parsek-version:        1.0.1.3+version:        1.0.2.0 category:       Parsing synopsis:       Parallel Parsing Processes description: Koen Claessen's PPP, Modified.@@ -7,7 +7,7 @@ license-file:   LICENSE author:         Koen Claessen, Jean-Philippe Bernardy maintainer:     jeanphilippe.bernardy@gmail.com-Cabal-Version:  >= 1.12+Cabal-Version:  1.12 build-type:     Simple  library