chuchu 0.1.3 → 0.1.4
raw patch · 3 files changed
+13/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Test.Chuchu.Parser: data ChuchuParser a
+ Test.Chuchu.Types: instance Alternative ChuchuParser
+ Test.Chuchu.Types: instance MonadPlus ChuchuParser
Files
- Test/Chuchu/Parser.hs +8/−1
- Test/Chuchu/Types.hs +3/−2
- chuchu.cabal +2/−2
Test/Chuchu/Parser.hs view
@@ -9,7 +9,14 @@ -- Portability : non-portable (TypeSynonymInstances, FlexibleInstances) -- -- This modules provides some utility parsers for creating step rules.-module Test.Chuchu.Parser (number, int, text, wildcard, email) where+module Test.Chuchu.Parser+ ( ChuchuParser+ , number+ , int+ , text+ , wildcard+ , email+ ) where -- base import Control.Applicative hiding ((<|>))
Test/Chuchu/Types.hs view
@@ -13,6 +13,7 @@ -- base import Control.Applicative hiding ((<|>))+import Control.Monad (MonadPlus) import Data.String -- parsec@@ -23,8 +24,8 @@ -- | @newtype@ for Parsec's 'Parser' used on this library. The -- main reason for not using 'Parser' directly is to be able to -- define the 'IsString' instance.-newtype ChuchuParser a- = ChuchuParser (Parser a) deriving (Functor, Applicative, Monad)+newtype ChuchuParser a = ChuchuParser (Parser a)+ deriving (Functor, Applicative, Alternative, Monad, MonadPlus) instance (a ~ ()) => IsString (ChuchuParser a) where fromString s = ChuchuParser (string s >> return ())
chuchu.cabal view
@@ -1,11 +1,11 @@ name: chuchu-version: 0.1.3+version: 0.1.4 cabal-version: >= 1.8 build-type: Simple license: OtherLicense license-file: LICENSE copyright: 2012 Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com>-author: Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com>+author: Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com>, Felipe Lessa <felipe.lessa@gmail.com> maintainer: Marco Túlio Pimenta Gontijo <marcotmarcot@gmail.com> stability: experimental homepage: http://github.com/marcotmarcot/chuchu