on master help sign in
drop unnecessary reference to Data.Hashable.Generic
7e61671AgentM
src/lib/ProjectM36/Base.hs+3−7
@@ -28,7 +28,6 @@ import Data.Typeable
28import Data.ByteString (ByteString)
28import Data.ByteString (ByteString)
29import qualified Data.List.NonEmpty as NE
29import qualified Data.List.NonEmpty as NE
30import Data.Vector.Instances ()
30import Data.Vector.Instances ()
31−import Data.Hashable.Generic
32
31
33type StringType = Text
32type StringType = Text
34
33
@@ -228,8 +227,7 @@ data RelationalExprBase a =
228 With [(WithNameExprBase a, RelationalExprBase a)] (RelationalExprBase a)
227 With [(WithNameExprBase a, RelationalExprBase a)] (RelationalExprBase a)
229 deriving (Show, Read, Eq, Generic, NFData, Foldable, Functor, Traversable)
228 deriving (Show, Read, Eq, Generic, NFData, Foldable, Functor, Traversable)
230
229
231−instance Hashable RelationalExpr where
230+instance Hashable RelationalExpr
232− hashWithSalt = genericHashWithSalt
233
231
234instance Binary RelationalExpr
232instance Binary RelationalExpr
235
233
@@ -337,8 +335,7 @@ type DatabaseContextExprName = StringType
337
335
338type DatabaseContextExpr = DatabaseContextExprBase ()
336type DatabaseContextExpr = DatabaseContextExprBase ()
339
337
340−instance Hashable DatabaseContextExpr where
338+instance Hashable DatabaseContextExpr
341− hashWithSalt = genericHashWithSalt
342
339
343type GraphRefDatabaseContextExpr = DatabaseContextExprBase GraphRefTransactionMarker
340type GraphRefDatabaseContextExpr = DatabaseContextExprBase GraphRefTransactionMarker
344
341
@@ -584,8 +581,7 @@ type GraphRefTupleExpr = TupleExprBase GraphRefTransactionMarker
584data TupleExprsBase a = TupleExprs a [TupleExprBase a]
581data TupleExprsBase a = TupleExprs a [TupleExprBase a]
585 deriving (Eq, Show, Read, Generic, NFData, Foldable, Functor, Traversable)
582 deriving (Eq, Show, Read, Generic, NFData, Foldable, Functor, Traversable)
586
583
587−instance Hashable TupleExprs where
584+instance Hashable TupleExprs
588− hashWithSalt = genericHashWithSalt
589
585
590type GraphRefTupleExprs = TupleExprsBase GraphRefTransactionMarker
586type GraphRefTupleExprs = TupleExprsBase GraphRefTransactionMarker
591
587