packages feed

kleene-list-0.1.0.0: kleene-list.cabal

cabal-version:       >=1.10

name:                kleene-list
version:             0.1.0.0
synopsis:            A list type based on the Kleene star and plus.
description:         This package provides a simple list type which is defined mutually with a non-empty list type. This makes interop between the two simpler. The types take their names from the Kleene star and plus. 
license:             Apache
license-file:        LICENSE
author:              Donnacha Oisín Kidney
maintainer:          mail@doisinkidney.com
copyright:           2020 Donnacha Oisín Kidney
category:            Data
build-type:          Custom
extra-source-files:  README.md

source-repository head
  type: git
  location: https://github.com/oisdk/kleene-list

custom-setup
  setup-depends:
      base
    , Cabal
    , cabal-doctest  >=1.0.6 && <1.1

library
  exposed-modules:
      Data.List.Kleene.Internal
      Data.List.Kleene.Star
      Data.List.Kleene.Plus
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-redundant-constraints -Wcompat
  build-depends:
      base >=4.7 && <5
    , deepseq
  default-language: Haskell2010

test-suite doctests
  type: exitcode-stdio-1.0
  main-is: doctests.hs
  hs-source-dirs:
      doctest
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-redundant-constraints -Wcompat -threaded
  build-depends:
      QuickCheck
    , base
    , base-compat
    , deepseq
    , doctest
    , kleene-list
    , template-haskell
  default-language: Haskell2010