packages feed

lazy-csv 0.5 → 0.5.1

raw patch · 3 files changed

+5/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

LICENCE-BSD3 view
@@ -1,10 +1,10 @@ This library (lazy-csv) is-  (c) copyright 2009-2013,  Malcolm Wallace, Ian Lynagh, and Well-Typed LLP.+  (c) copyright 2009-2015,  Malcolm Wallace, Ian Lynagh, and Well-Typed LLP. and distributable under a BSD-style 3-clause license (see below).  ----------------------------------------------------------------------------- -Copyright 2009-2013, Malcolm Wallace, Ian Lynagh, and Well-Typed LLP.+Copyright 2009-2015, Malcolm Wallace, Ian Lynagh, and Well-Typed LLP. All rights reserved.  Redistribution and use in source and binary forms, with or without
Text/CSV/Lazy/String.hs view
@@ -239,7 +239,7 @@ -- Lexer is a small finite state machine. lexCSV :: Bool -> Char -> [Char] -> [CSVField] lexCSV quotedNewline delim =-    simple (CSVState{tableRow=1,tableCol=1,textRow=1,textCol=1}) (1,1) []+    simple CSVState{tableRow=1,tableCol=1,textRow=1,textCol=1} (1,1) []   where   -- 'simple' recognises an unquoted field, and delimiter char as separator   simple :: CSVState -> (Int,Int) -> String -> String -> [CSVField]@@ -303,6 +303,7 @@                                     simple s' (textRow s',1) [] cs                                     where s' = incTableRow . incTextRow $!                                                s {tableCol=1, textCol=1}+  string s begin acc ('"':[])     = mkField s begin acc True : []   string s begin acc ('"':cs)     = mkError s begin                                             "End-quote not followed by comma":                                     simple (incTextCol $! s) begin acc cs
lazy-csv.cabal view
@@ -1,5 +1,5 @@ Name:         lazy-csv-Version:      0.5+Version:      0.5.1 License:      BSD3 License-file: LICENCE-BSD3 Copyright:    Malcolm Wallace, Ian Lynagh, and Well Typed LLP