packages feed

th-reify-many 0.1.5 → 0.1.5.1

raw patch · 2 files changed

+6/−3 lines, 2 filesdep ~template-haskelldep ~th-expand-synsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: template-haskell, th-expand-syns

API changes (from Hackage documentation)

Files

src/Language/Haskell/TH/ReifyMany.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} -- | @th-reify-many@ provides functions for recursively reifying top -- level declarations.  The main intended use case is for enumerating -- the names of datatypes reachable from an initial datatype, and@@ -96,19 +97,21 @@   where     recurse' (name, info) = do         let skip thing = do-                reportWarning $ "reifyManyTyCons skipping " ++ thing ++ " named " ++ pprint name+                report False $ "reifyManyTyCons skipping " ++ thing ++ " named " ++ pprint name                 return (False, [])             unexpected thing = do                 fail $ "reifyManyTyCons encountered unexpected " ++ thing ++ " named " ++ pprint name         case info of             TyConI dec -> recurse (name, dec)             PrimTyConI{} -> skip "prim type constructor"-            FamilyI{} -> skip "type or data family"             DataConI{} -> skip "data constructor"             ClassI{} -> skip "class"             ClassOpI{} -> unexpected "class method"             VarI{} -> unexpected "value variable"             TyVarI{} -> unexpected "type variable"+#if MIN_VERSION_template_haskell(2,6,0)+            FamilyI{} -> skip "type or data family"+#endif  -- | Starting from a set of initial top level declarations, specified -- by @[Name]@, recursively enumerate other related declarations.  The
th-reify-many.cabal view
@@ -1,5 +1,5 @@ name:              th-reify-many-version:           0.1.5+version:           0.1.5.1 synopsis:          Recurseively reify template haskell datatype info  description:       @th-reify-many@ provides functions for recursively reifying top