packages feed

bert 1.1 → 1.1.1

raw patch · 2 files changed

+9/−9 lines, 2 filesdep −network-bytestringPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies removed: network-bytestring

API changes (from Hackage documentation)

- Data.BERT.Parser: instance Alternative (GenParser s a)
- Data.BERT.Parser: instance Applicative (GenParser s a)

Files

Data/BERT/Parser.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE OverlappingInstances, TypeSynonymInstances #-} -- | -- Module      : Data.BERT.Parser -- Copyright   : (c) marius a. eriksen 2009@@ -22,12 +23,12 @@ import qualified Data.ByteString.Lazy.Char8 as C import Data.BERT.Types (Term(..)) -instance Applicative (GenParser s a) where-  pure  = return-  (<*>) = ap-instance Alternative (GenParser s a) where-  empty = mzero-  (<|>) = mplus+--instance Applicative (GenParser s a) where+--  pure  = return+--  (<*>) = ap+--instance Alternative (GenParser s a) where+--  empty = mzero+--  (<|>) = mplus  -- | Parse a simple BERT (erlang) term from a string in the erlang -- grammar. Does not attempt to decompose complex terms.
bert.cabal view
@@ -1,6 +1,6 @@ cabal-version: >= 1.6 name:          bert-version:       1.1+version:       1.1.1 build-type:    Simple license:       BSD3 license-file:  LICENSE@@ -14,8 +14,7 @@  library   build-depends: base == 4.*, containers >= 0.2, -                 bytestring >= 0.9, binary >= 0.5, -                 mtl >= 1.1, network-bytestring >= 0.1,+                 bytestring >= 0.9, binary >= 0.5, mtl >= 1.1,                  network >= 2.2, unix >= 2.0, time >= 1.1,                   parsec >= 2.0   exposed-modules: