Permalink
Browse files

Documentation improvements to D.C.Streaming

  • Loading branch information...
1 parent 76cdc0a commit 0d3f99378319a0bbab49afdb5541afb9c5ba8024 @tibbe committed Nov 17, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Data/Csv/Streaming.hs
View
@@ -1,9 +1,9 @@
{-# LANGUAGE BangPatterns, CPP, DeriveFunctor #-}
-- | This module allows for streaming decoding of CSV data. This is
--- useful if you need to parse large amount of input in constant
--- space. The API also allow you to ignore type conversion errors on a
--- per-record basis.
+-- useful if you need to parse large amounts of input in constant
+-- space. The API also allows you to ignore type conversion errors on
+-- a per-record basis.
module Data.Csv.Streaming
( Records(..)
, decode
@@ -28,7 +28,7 @@ import Data.Csv.Parser
import Data.Csv.Types
-- | A stream of parsed records. If type conversion failed for the
--- records, it's represented as @'Left' errMsg@.
+-- record, the error is returned as @'Left' errMsg@.
data Records a
= -- | A record or an error message, followed by more records.
Cons (Either String a) (Records a)

0 comments on commit 0d3f993

Please sign in to comment.