vinyl 0.14.2 → 0.14.3
raw patch · 4 files changed
+9/−2 lines, 4 files
Files
- CHANGELOG.md +3/−0
- Data/Vinyl/TypeLevel.hs +1/−1
- tests/Aeson.hs +4/−0
- vinyl.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,6 @@+# 0.14.3+- Compatibility with `lens-aeson` > 1.2+ # 0.14.2 - Export the `ToARec` class
Data/Vinyl/TypeLevel.hs view
@@ -73,7 +73,7 @@ RImage '[] ss = '[] RImage (r ': rs) ss = RIndex r ss ': RImage rs ss --- | Remove the first occurence of a type from a type-level list.+-- | Remove the first occurrence of a type from a type-level list. type family RDelete r rs where RDelete r (r ': rs) = rs RDelete r (s ': rs) = s ': RDelete r rs
tests/Aeson.hs view
@@ -260,8 +260,12 @@ allFields :: Value -> Object #if MIN_VERSION_aeson(2,0,0) allFields = KeyMap.fromList+#if MIN_VERSION_lens_aeson(1,2,0)+ . keyMapToList+#else . map (_1 %~ Key.fromText) . H.toList+#endif . view (deep _Object) #else allFields = view (deep _Object)
vinyl.cabal view
@@ -1,5 +1,5 @@ name: vinyl-version: 0.14.2+version: 0.14.3 synopsis: Extensible Records -- description: license: MIT