Skip to content

Commit

Permalink
Merge pull request #20 from yuvallanger/fix-comment
Browse files Browse the repository at this point in the history
Remove unnecessary type signature duplicity in function's comment.
  • Loading branch information
ozataman committed Nov 27, 2015
2 parents fcfe04e + 247c6d4 commit bb7f4f2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/Data/CSV/Conduit.hs
Expand Up @@ -289,14 +289,11 @@ writeHeaders set = do

-------------------------------------------------------------------------------
-- | Read the entire contents of a CSV file into memory.
-- readCSVFile
-- :: (GV.Vector v a, CSV ByteString a)
-- => CSVSettings
-- -- ^ Settings to use in deciphering stream
-- -> FilePath
-- -- ^ Input file
-- -> IO (v a)
readCSVFile :: (MonadIO m, CSV ByteString a) => CSVSettings -> FilePath -> m (V.Vector a)
readCSVFile
:: (MonadIO m, CSV ByteString a)
=> CSVSettings -- ^ Settings to use in deciphering stream
-> FilePath -- ^ Input file
-> m (V.Vector a)
readCSVFile set fp = liftIO . runResourceT $ sourceFile fp $= intoCSV set $$ hoist lift (sinkVector 10)


Expand Down

0 comments on commit bb7f4f2

Please sign in to comment.