packages feed

uniplate 1.6.5 → 1.6.6

raw patch · 4 files changed

+6/−14 lines, 4 filesdep ~hashable

Dependency ranges changed: hashable

Files

Data/Generics/Uniplate/Data/Instances.hs view
@@ -81,7 +81,7 @@ -- -- > transformBi (+1) (1, 2, Hide 3, Just 4) == (2, 3, Hide 3, Just 4) -----   As a result of having no constructors, any calls to the methods 'toConstr' or 'gunfoldl'+--   As a result of having no constructors, any calls to the methods 'toConstr' or 'gunfold' --   will raise an error. newtype Hide a = Hide {fromHide :: a}     deriving (Read,Ord,Eq,Typeable)@@ -112,7 +112,7 @@ -- -- > data SortedList a = SortedList (Trigger [a]) deriving (Data,Typeable) -- > toSortedList xs = SortedList $ Trigger False $ sort xs--- > fromSortedList (SortedList (Trigger t xs)) = if trigger x then sort xs else xs+-- > fromSortedList (SortedList (Trigger t xs)) = if t then sort xs else xs -- --   This data type represents a sorted list. When constructed the items are initially sorted, --   but operations such as 'gmapT' could break that invariant. The 'Trigger' type is used to
Data/Generics/Uniplate/Internal/Data.hs view
@@ -54,10 +54,6 @@ --------------------------------------------------------------------- -- GHC 7.2 and above (using fingerprint) -import GHC.Fingerprint.Type(Fingerprint(..))-import Data.Typeable.Internal(TypeRep(..))--import Data.Hashable import qualified Data.HashMap.Strict as Map import qualified Data.HashSet as Set type TypeSet = Set.HashSet TypeKey@@ -67,10 +63,6 @@  typeKey :: Typeable a => a -> TypeKey typeKey = typeOf--instance Hashable TypeRep where-    -- Fingerprint is just the MD5, so taking any Int from it is fine-    hash (TypeRep (Fingerprint x _) _ _) = fromIntegral x  #endif 
LICENSE view
@@ -1,4 +1,4 @@-Copyright Neil Mitchell 2006-2007.+Copyright Neil Mitchell 2006-2012. All rights reserved.  Redistribution and use in source and binary forms, with or without
uniplate.cabal view
@@ -1,10 +1,10 @@ cabal-version:      >= 1.6 build-type:         Simple name:               uniplate-version:            1.6.5+version:            1.6.6 author:             Neil Mitchell <ndmitchell@gmail.com> maintainer:         Neil Mitchell <ndmitchell@gmail.com>-copyright:          Neil Mitchell 2006-2011+copyright:          Neil Mitchell 2006-2012 homepage:           http://community.haskell.org/~ndm/uniplate/ license:            BSD3 license-file:       LICENSE@@ -56,7 +56,7 @@     if flag(typeable_fingerprint)         build-depends:             base >=4.4 && <5, containers, syb,-            hashable < 1.2,+            hashable >= 1.1.2.3 && < 1.2,             unordered-containers == 0.1.*     else         if flag(separate_syb)