csv-conduit 0.6.8 → 0.6.8.1
raw patch · 3 files changed
+6/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +3/−0
- csv-conduit.cabal +1/−1
- src/Data/CSV/Conduit/Conversion.hs +2/−2
changelog.md view
@@ -1,3 +1,6 @@+0.6.8.1+* Fix documentation mistake in FromNamedRecord/ToNamedRecord examples.+ 0.6.8 * Haddocks improvements * Fix inlining and specialization rules around formatDecimal
csv-conduit.cabal view
@@ -1,5 +1,5 @@ Name: csv-conduit-Version: 0.6.8+Version: 0.6.8.1 Synopsis: A flexible, fast, conduit-based CSV parser library for Haskell. Homepage: http://github.com/ozataman/csv-conduit License: BSD3
src/Data/CSV/Conduit/Conversion.hs view
@@ -347,7 +347,7 @@ -- > -- > data Person = Person { name :: !Text, age :: !Int } -- >--- > instance FromRecord Person where+-- > instance FromNamedRecord Person where -- > parseNamedRecord m = Person <$> -- > m .: "name" <*> -- > m .: "age"@@ -368,7 +368,7 @@ -- -- > data Person = Person { name :: !Text, age :: !Int } -- >--- > instance ToRecord Person where+-- > instance ToNamedRecord Person where -- > toNamedRecord (Person name age) = namedRecord [ -- > "name" .= name, "age" .= age] class ToNamedRecord a where