git.iko.soy/typeable/postgresql-simple
on master help sign in
Fix use of deprecated identifier
6769ce2Leon P Smith
src/Database/PostgreSQL/Simple/HStore/Implementation.hs+1−1
@@ -143,7 +143,7 @@ instance FromField HStoreList where
143newtype HStoreMap = HStoreMap (Map Text Text) deriving (Eq, Ord, Typeable, Show)
143newtype HStoreMap = HStoreMap (Map Text Text) deriving (Eq, Ord, Typeable, Show)
144
144
145instance ToHStore HStoreMap where
145instance ToHStore HStoreMap where
146− toHStore (HStoreMap xs) = Map.foldWithKey f mempty xs
146+ toHStore (HStoreMap xs) = Map.foldrWithKey f mempty xs
147 where f k v xs = hstore k v `mappend` xs
147 where f k v xs = hstore k v `mappend` xs
148
148
149instance ToField HStoreMap where
149instance ToField HStoreMap where