packages feed

Frames-streamly-0.3.1.0: Frames-streamly.cabal

cabal-version: 2.2

name:           Frames-streamly
version:        0.3.1.0
synopsis:       A streamly layer for Frames I/O
description:    More information is available in the <https://github.com/adamConnerSax/Frames-streamly/blob/master/Readme.md readme>.'
category:       Data
homepage:       https://github.com/adamConnerSax/Frames-streamly#readme
bug-reports:    https://github.com/adamConnerSax/Frames-streamly/issues
author:         Adam Conner-Sax
maintainer:     adam_conner_sax@yahoo.com
copyright:      2020 Adam Conner-Sax
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    Changelog.md
    Readme.md
data-files:
    forestfires.csv
data-dir:       example_data

flag dump-core
  description: Dump HTML for the core generated by GHC during compilation
  default:     False

flag streamly9
    Description: require streamly >= 0.9
    Manual: True
    Default: False

source-repository head
  type: git
  location: https://github.com/adamConnerSax/Frames-streamly

library
  exposed-modules:
      Paths_Frames_streamly
      Frames.Streamly.Categorical
      Frames.Streamly.ColumnTypeable
      Frames.Streamly.ColumnUniverse
      Frames.Streamly.CSV
      Frames.Streamly.InCore
      Frames.Streamly.LoadInCore
      Frames.Streamly.OrMissing
      Frames.Streamly.Streaming.Class
      Frames.Streamly.Streaming.Common
      Frames.Streamly.Streaming.Streamly
      Frames.Streamly.Streaming.Pipes
      Frames.Streamly.Transform
      Frames.Streamly.TH
  other-modules: Frames.Streamly.Internal.CSV

  autogen-modules:
     Paths_Frames_streamly
  hs-source-dirs:
      src
--  ghc-options: -Wall -O2 -fdicts-strict -fmax-worker-args=16 -fspec-constr-recursive=16 -fplugin=Fusion.Plugin
  ghc-options: -Wall -O2 -fdicts-strict -fmax-worker-args=16 -fspec-constr-recursive=16
  build-depends:
      Frames >=0.6 && <0.8
    , base >=4.12.0 && <5
    , bytestring >= 0.10.0 && < 0.12
    , containers >= 0.6.0 && < 0.7
    , dlist >= 1.0 && < 1.1
    , deepseq >= 1.4 && <1.5
    , exceptions >=0.10.0 && <0.11
    , fusion-plugin >= 0.2 && < 0.3
    , foldl >= 1.4.0 && < 1.5
    , ghc-prim >= 0.6 && < 0.11
    , monad-control >= 1.0.1 && < 1.1
    , pipes >= 4.3.14 && <4.4
    , pipes-safe >= 2.3.1 && < 2.4
    , pipes-text >= 1.0 && < 1.1
    , primitive >=0.7 && <0.9
    , readable >= 0.3 && <0.4
    , relude >=1.0.0 && < 1.3
    , strict >= 0.4 && < 0.6
    , template-haskell >= 2.14 && < 2.21
    , text >=1.2.3 && <2.2
    , text-builder >= 0.6.6 && < 0.7
    , vector-th-unbox >= 0.2.1.3 && <0.3
    , vector >= 0.12.1.2 && < 0.14
    , vinyl >=0.12 && <0.15
    , word8 >= 0.1.3 && < 0.2
  if flag(streamly9)
    build-depends:
      streamly >=0.9 && <0.10, streamly-core >=0.1.0 && <0.2, streamly-bytestring >=0.2.0 && < 0.3
  else
    build-depends: streamly >=0.8 && <0.9, streamly-bytestring >=0.1.0 && <0.2
  mixins:  base hiding (Prelude)
         , relude (Relude as Prelude, Relude.Extra)
  default-language: Haskell2010

executable Demo
  main-is: Main.hs
  other-modules:
      DemoPaths
      DayOfWeek
      Paths_Frames_streamly
  hs-source-dirs:
      examples
  ghc-options: -Wall -O2 -fdicts-strict -fmax-worker-args=16 -fspec-constr-recursive=16
  build-depends:
      Frames
    , Frames-streamly
    , base
    , containers
    , foldl
    , readable
    , relude
    , streamly
    , template-haskell
    , text
    , vector
    , vector-th-unbox
    , vinyl
  mixins:  base hiding (Prelude)
         , relude (Relude as Prelude
         , Relude.Extra)
  default-language: Haskell2010

test-suite FramesStreamlySpec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules: FramesStreamlySpec
                 SpecHelper
                 DemoPaths
                 Paths_Frames_streamly
  hs-source-dirs:
      test
  ghc-options: -Wall -O2 -static -fdicts-strict -fmax-worker-args=16 -fspec-constr-recursive=16
  build-depends:
      Frames
    , Frames-streamly
    , hspec
    , hspec-discover
    , base
    , containers
    , foldl
    , pipes-safe
    , streamly
    , text
    , vinyl
  default-language: Haskell2010

benchmark bench-frames-streamly
  if flag(dump-core)
    build-depends: dump-core
    ghc-options: -fforce-recomp -fplugin=DumpCore -fplugin-opt DumpCore:core-html
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  other-modules: Paths Paths_Frames_streamly
--  ghc-options:         -O2 -fspec-constr-recursive=16 -fmax-worker-args=16 -funbox-strict-fields -fplugin=Fusion.Plugin
  ghc-options:         -O2 -fspec-constr-recursive=16 -fmax-worker-args=16 -funbox-strict-fields -fplugin=Fusion.Plugin
  main-is:             Bench.hs
  build-depends:       base
                     , containers
                     , criterion
                     , foldl
                     , Frames
                     , Frames-streamly
                     , fusion-plugin
                     , pipes
                     , relude
                     , text
                     , vinyl
  mixins:  base hiding (Prelude)
         , relude (Relude as Prelude
         , Relude.Extra)
  default-language:    Haskell2010