packages feed

groan-0.1.0.0: groan.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.2.
--
-- see: https://github.com/sol/hpack

name:           groan
version:        0.1.0.0
synopsis:       ugh, another growable vector library?
description:    Yet another contiguous growable vector buffer library.
                .
                For algorithms where you need to pass around a growing buffer between
                a few different contexts, such as in and out of a data-structure,
                you're likely to get better performance using a mutable array than
                with a continuation-based builder type. This is because in the
                continuation-based builder, you're building up a linked list of
                append thunks, and there's no ability for GHC to fuse them together.
                In comparison, buffers have easily predictable performance.
category:       Data Structures, Data
author:         Michael Ledger
maintainer:     Michael Ledger <mike@quasimal.com>
license:        MPL-2.0
license-file:   LICENSE
build-type:     Simple

source-repository head
  type: git
  location: https://gitlab.com/combobulate.systems/records-edsl.git

library
  exposed-modules:
      Data.Vector.Groan
      Data.Vector.Groan.Unboxed
  hs-source-dirs:
      ./
  default-extensions:
      AllowAmbiguousTypes
      BangPatterns
      BlockArguments
      DataKinds
      DeriveAnyClass
      DerivingStrategies
      DerivingVia
      DuplicateRecordFields
      ExplicitForAll
      GADTs
      ImportQualifiedPost
      LambdaCase
      MultiWayIf
      MultilineStrings
      NamedFieldPuns
      NoImplicitPrelude
      NoStarIsType
      OverloadedLabels
      OverloadedRecordDot
      OverloadedStrings
      PartialTypeSignatures
      PatternSynonyms
      PolyKinds
      RequiredTypeArguments
      ScopedTypeVariables
      StrictData
      TemplateHaskell
      TemplateHaskellQuotes
      TypeApplications
      TypeFamilies
      ViewPatterns
  build-depends:
      base ==4.21.*
    , contiguous ==0.6.*
    , primitive ==0.9.*
    , transformers ==0.6.*
    , vector ==0.13.*
  default-language: GHC2024

test-suite tests
  type: exitcode-stdio-1.0
  main-is: spec.hs
  other-modules:
      Data.Vector.Groan.List
      Paths_groan
  hs-source-dirs:
      tests
  default-extensions:
      AllowAmbiguousTypes
      BangPatterns
      BlockArguments
      DataKinds
      DeriveAnyClass
      DerivingStrategies
      DerivingVia
      DuplicateRecordFields
      ExplicitForAll
      GADTs
      ImportQualifiedPost
      LambdaCase
      MultiWayIf
      MultilineStrings
      NamedFieldPuns
      NoImplicitPrelude
      NoStarIsType
      OverloadedLabels
      OverloadedRecordDot
      OverloadedStrings
      PartialTypeSignatures
      PatternSynonyms
      PolyKinds
      RequiredTypeArguments
      ScopedTypeVariables
      StrictData
      TemplateHaskell
      TemplateHaskellQuotes
      TypeApplications
      TypeFamilies
      ViewPatterns
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base ==4.12.*
    , containers
    , contiguous
    , groan
    , hedgehog ==1.7.*
    , hspec
    , hspec-hedgehog
    , primitive
    , transformers
    , vector
  default-language: GHC2024