quiver-csv (empty) → 0.0.0.1
raw patch · 4 files changed
+105/−0 lines, 4 filesdep +basedep +bytestringdep +data-cellsetup-changed
Dependencies added: base, bytestring, data-cell, quiver, quiver-bytestring
Files
- LICENSE +28/−0
- Setup.hs +3/−0
- quiver-csv.cabal +46/−0
- src/Control/Quiver/CSV.lhs +28/−0
+ LICENSE view
@@ -0,0 +1,28 @@++ Quiver combinators for cellular CSV data processing+ ===================================================++ Copyright © 2015 Patryk Zadarnowski «pat@jantar.org».+ All rights reserved.++ Redistribution and use in source and binary forms, with or without+ modification, are permitted provided that the following conditions+ are met: ➀ Redistributions of source code must retain the above+ copyright notice, this list of conditions and the following disclaimer.+ ➁ Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimer in the documentation+ and/or other materials provided with the distribution. ➂ The name of any+ author may not be used to endorse or promote products derived from this+ software without their specific prior written permission.++ THIS SOFTWARE IS PROVIDED “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY+ AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO EVENT SHALL+ THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS;+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+
+ Setup.hs view
@@ -0,0 +1,3 @@+#! /usr/bin/env runhaskell+import Distribution.Simple+main = defaultMain
+ quiver-csv.cabal view
@@ -0,0 +1,46 @@+name: quiver-csv+version: 0.0.0.1+synopsis: Quiver combinators for cellular CSV data processing+homepage: https://github.com/zadarnowski/quiver-csv+category: Control+stability: alpha++author: Patryk Zadarnowski+maintainer: Patryk Zadarnowski <pat@jantar.org>++copyright: Copyright (c) 2015 Patryk Zadarnowski++description:++ This library provides an efficient pipes-based implementation+ of a cellular CSV codec designed for fast streaming of data+ with guaranteed constant memory usage.++cabal-version: >= 1.18+build-type: Simple+license: BSD3+license-file: LICENSE++source-repository head+ type: git+ location: https://github.com/zadarnowski/quiver-csv.git++source-repository this+ type: git+ location: https://github.com/zadarnowski/quiver-csv.git+ tag: 0.0.0.1++library+ hs-source-dirs: src+ default-language: Haskell2010+ ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-missing-signatures++ exposed-modules:+ Control.Quiver.CSV++ build-depends:+ base >= 4.8 && < 5,+ bytestring >= 0.10.6.0,+ data-cell >= 1.0.0.2,+ quiver >= 0.0.0.6,+ quiver-bytestring >= 0.0.0.1
+ src/Control/Quiver/CSV.lhs view
@@ -0,0 +1,28 @@+> -- | Module: Control.Quiver.CSV+> -- Description: Quiver CSV codec+> -- Copyright: © 2015 Patryk Zadarnowski <pat@jantar.org>+> -- License: BSD3+> -- Maintainer: pat@jantar.org+> -- Stability: experimental+> -- Portability: portable+> --+> -- Aan efficient Quiver-based implementation+> -- of a cellular CSV encoder and decoder,+> -- designed for fast streaming of data+> -- with guaranteed constant memory usage.++> {-# LANGUAGE PatternSynonyms #-}++> module Control.Quiver.CSV (+> ParseResult,+> pattern ParseIncomplete,+> pattern ParseComplete,+> pattern ParseFailed,+> ParseError (..),+> decodeCSV, decodeLazyCSV,+> encodeCSV, encodeLazyCSV,+> ) where++> import Control.Quiver.CSV.Decoder+> import Control.Quiver.CSV.Encoder+> import Control.Quiver.CSV.Extras