packages feed

csv-conduit 0.3.0.2 → 0.3.0.3

raw patch · 2 files changed

+3/−2 lines, 2 files

Files

csv-conduit.cabal view
@@ -1,5 +1,5 @@ Name:                csv-conduit-Version:             0.3.0.2+Version:             0.3.0.3 Synopsis:            A flexible, fast, conduit-based CSV parser library for Haskell. Homepage:            http://github.com/ozataman/csv-conduit License:             BSD3@@ -9,6 +9,7 @@ Category:            Data, Conduit, CSV, Text Build-type:          Simple Cabal-version:       >= 1.9.2+Tested-with:         GHC == 7.6.1 Description:   CSV files are the de-facto standard in many situations involving data transfer,   particularly when dealing with enterprise application or disparate database
src/Data/CSV/Conduit.hs view
@@ -118,7 +118,7 @@     let       sep = B.pack [c2w (csvOutputColSep s)]       wrapField !f = case csvOutputQuoteChar s of-        Just !x -> x `B8.cons` escape x f `B8.snoc` x+        Just !x -> (x `B8.cons` escape x f) `B8.snoc` x         _ -> f       escape c str = B8.intercalate (B8.pack [c,c]) $ B8.split c str     in B.intercalate sep . map wrapField $ r