packages feed

data-cell (empty) → 1.0.0.0

raw patch · 4 files changed

+98/−0 lines, 4 filesdep +basesetup-changed

Dependencies added: base

Files

+ LICENSE view
@@ -0,0 +1,28 @@++  Generic cellular data representation library+  ============================================++    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
+ data-cell.cabal view
@@ -0,0 +1,42 @@+name:           data-cell+version:        1.0.0.0+synopsis:       Generic cellular data representation library+homepage:       https://github.com/zadarnowski/data-cell+category:       Data+stability:      alpha++author:         Patryk Zadarnowski+maintainer:     Patryk Zadarnowski <pat@jantar.org>++copyright:      Copyright (c) 2015 Patryk Zadarnowski++description:++    This library defines a trivial type used for streaming+    of tabular data using coinductive control structures+    such as pipes, conduit or iteratees.++cabal-version:  >= 1.18+build-type:     Simple+license:        BSD3+license-file:   LICENSE++source-repository head+  type:         git+  location:     https://github.com/zadarnowski/data-cell.git++source-repository this+  type:         git+  location:     https://github.com/zadarnowski/data-cell.git+  tag:          1.0.0.0++library+  hs-source-dirs:   src+  default-language: Haskell2010+  ghc-options:      -Wall -fno-warn-unused-do-bind -fno-warn-unused-binds++  exposed-modules:+    Data.Cell++  build-depends:+    base        >= 4.8 && < 5
+ src/Data/Cell.lhs view
@@ -0,0 +1,25 @@+> -- | Module:      Data.Cell+> --   Description: Generic cellular data representation library+> --   Copyright:   © 2015 Patryk Zadarnowski <pat@jantar.org>+> --   License:     BSD3+> --   Maintainer:  pat@jantar.org+> --   Stability:   experimental+> --   Portability: portable++> module Data.Cell (+>   Cell (..), CellDelimiter (..)+> ) where++> -- | Individual cell type++> data Cell a = Cell a CellDelimiter+>   deriving (Eq, Ord, Show)++> -- | Cell delimiter++> data CellDelimiter =+>     EOP    -- ^ end of partial cell content+>   | EOC    -- ^ end of cell+>   | EOR    -- ^ end of row+>   | EOT    -- ^ end of table+>   deriving (Eq, Ord, Show, Enum)