packages feed

haskell-src-meta 0.5.1 → 0.5.1.1

raw patch · 3 files changed

+9/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README view
@@ -12,6 +12,9 @@  Major changes: +0.5.1 -> 0.5.1.1:+- View pattern support, thanks to Nicolas Frisby.+ 0.5.0.3 -> 0.5.1: - New module Language.Haskell.Meta.Parse.Careful, written by Reiner Pope   so that ambiguous parses can be rejected instead of quietly done wrong.
haskell-src-meta.cabal view
@@ -1,5 +1,5 @@ name:               haskell-src-meta-version:            0.5.1+version:            0.5.1.1 cabal-version:      >= 1.6 build-type:         Simple license:            BSD3@@ -19,7 +19,7 @@  flag new-th   Description: Build with template-haskell >= 2.7.0-  Default: True+  Default: False  library   build-depends:   base >= 4.2 && < 4.6,
src/Language/Haskell/Meta/Syntax/Translate.hs view
@@ -194,6 +194,9 @@   toPat (Hs.PWildCard) = WildP   toPat (Hs.PIrrPat p) = TildeP (toPat p)   toPat (Hs.PatTypeSig _ p t) = SigP (toPat p) (toType t)+#if MIN_VERSION_template_haskell(2,5,0)+  toPat (Hs.PViewPat e p) = ViewP (toExp e) (toPat p)+#endif   -- regular pattern   toPat p@Hs.PRPat{} = noTH "toPat" p   -- XML stuff@@ -204,6 +207,7 @@ #if MIN_VERSION_template_haskell(2,4,0)   toPat (Hs.PBangPat p) = BangP (toPat p) #endif /* MIN_VERSION_template_haskell(2,4,0) */+  toPat p = todo "toPat" p  -----------------------------------------------------------------------------