Skip to content

Commit bd165b0

Browse files
committed
Add dataCast1 definition for HashMap
1 parent e0c4181 commit bd165b0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.2.17.0]
2+
3+
* Define `dataCast1` for `HashMap`.
4+
15
## [0.2.16.0]
26

37
* [Increase maximum branching factor from 16 to 32](https://github.com/haskell-unordered-containers/unordered-containers/pull/317)

Data/HashMap/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ instance (Data k, Data v, Eq k, Hashable k) => Data (HashMap k v) where
303303
1 -> k (z fromList)
304304
_ -> error "gunfold"
305305
dataTypeOf _ = hashMapDataType
306+
dataCast1 f = gcast1 f
306307
dataCast2 f = gcast2 f
307308

308309
fromListConstr :: Constr

0 commit comments

Comments
 (0)