packages feed

boomerang 1.4.5.1 → 1.4.5.2

raw patch · 2 files changed

+12/−4 lines, 2 filesdep ~template-haskellPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: template-haskell

API changes (from Hackage documentation)

- Text.Boomerang.String: instance (a ~ b) => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.String.StringError GHC.Base.String a b)
- Text.Boomerang.Strings: instance (a ~ b) => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.Strings.StringsError [GHC.Base.String] a b)
- Text.Boomerang.Texts: instance (a ~ b) => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.Texts.TextsError [Data.Text.Internal.Text] a b)
+ Text.Boomerang.Combinators: infixr 6 <>
+ Text.Boomerang.Error: infix 0 <?>
+ Text.Boomerang.Prim: infixr 9 .~
+ Text.Boomerang.String: instance a ~ b => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.String.StringError GHC.Base.String a b)
+ Text.Boomerang.Strings: infixr 9 </>
+ Text.Boomerang.Strings: instance a ~ b => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.Strings.StringsError [GHC.Base.String] a b)
+ Text.Boomerang.Texts: infixr 9 </>
+ Text.Boomerang.Texts: instance a ~ b => Data.String.IsString (Text.Boomerang.Prim.Boomerang Text.Boomerang.Texts.TextsError [Data.Text.Internal.Text] a b)
- Text.Boomerang.Combinators: rFalse :: Boomerang e tok r ((:-) Bool r)
+ Text.Boomerang.Combinators: rFalse :: forall tok e r. Boomerang e tok r ((:-) Bool r)
- Text.Boomerang.Combinators: rJust :: Boomerang e tok ((:-) a_a3S8 r) ((:-) (Maybe a_a3S8) r)
+ Text.Boomerang.Combinators: rJust :: forall tok e r a_12. Boomerang e tok ((:-) a_12 r) ((:-) (Maybe a_12) r)
- Text.Boomerang.Combinators: rLeft :: Boomerang e tok ((:-) a_a5oI r) ((:-) (Either a_a5oI b_a5oJ) r)
+ Text.Boomerang.Combinators: rLeft :: forall tok e r a_a8Rx b_a8Ry. Boomerang e tok ((:-) a_a8Rx r) ((:-) (Either a_a8Rx b_a8Ry) r)
- Text.Boomerang.Combinators: rNothing :: Boomerang e tok r ((:-) (Maybe a_a3S8) r)
+ Text.Boomerang.Combinators: rNothing :: forall tok e r a_12. Boomerang e tok r ((:-) (Maybe a_12) r)
- Text.Boomerang.Combinators: rRight :: Boomerang e tok ((:-) b_a5oJ r) ((:-) (Either a_a5oI b_a5oJ) r)
+ Text.Boomerang.Combinators: rRight :: forall tok e r a_a8Rx b_a8Ry. Boomerang e tok ((:-) b_a8Ry r) ((:-) (Either a_a8Rx b_a8Ry) r)
- Text.Boomerang.Combinators: rTrue :: Boomerang e tok r ((:-) Bool r)
+ Text.Boomerang.Combinators: rTrue :: forall tok e r. Boomerang e tok r ((:-) Bool r)
- Text.Boomerang.Prim: parse :: (InitialPosition e) => Boomerang e tok () a -> tok -> [Either e (a, tok)]
+ Text.Boomerang.Prim: parse :: forall e a p tok. (InitialPosition e) => Boomerang e tok () a -> tok -> [Either e (a, tok)]
- Text.Boomerang.Prim: val :: Parser e tok a -> (a -> [tok -> tok]) -> Boomerang e tok r (a :- r)
+ Text.Boomerang.Prim: val :: forall e tok a r. Parser e tok a -> (a -> [tok -> tok]) -> Boomerang e tok r (a :- r)

Files

Text/Boomerang/TH.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE TemplateHaskell, TypeOperators #-}+{-# LANGUAGE CPP, TemplateHaskell, TypeOperators #-} module Text.Boomerang.TH     ( makeBoomerangs     -- * Backwards-compatibility@@ -18,9 +18,17 @@ makeBoomerangs name = do   info <- reify name   case info of+#if MIN_VERSION_template_haskell(2,11,0)+    TyConI (DataD _ tName tBinds _ cons _)   ->+#else     TyConI (DataD _ tName tBinds cons _)   ->+#endif       concat `liftM` mapM (deriveBoomerang (tName, tBinds)) cons+#if MIN_VERSION_template_haskell(2,11,0)+    TyConI (NewtypeD _ tName tBinds _ con _) ->+#else     TyConI (NewtypeD _ tName tBinds con _) ->+#endif       deriveBoomerang (tName, tBinds) con     _ ->       fail $ show name ++ " is not a datatype."
boomerang.cabal view
@@ -1,5 +1,5 @@ Name:             boomerang-Version:          1.4.5.1+Version:          1.4.5.2 License:          BSD3 License-File:     LICENSE Author:           jeremy@seereason.com@@ -10,12 +10,12 @@ Description:      Specify a single unified grammar which can be used for parsing and pretty-printing Cabal-Version:    >= 1.6 Build-type:       Simple-tested-with:      GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3+tested-with:      GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1  Library         Build-Depends:    base             >= 4    && < 5,                           mtl              >= 2.0  && < 2.3,-                          template-haskell,+                          template-haskell            < 2.12,                           text             >= 0.11 && < 1.3         Exposed-Modules:  Text.Boomerang                           Text.Boomerang.Combinators