cabal-version:      2.4
name:               logict-sequence
version:            0.1.0.0

-- A short (one-line) description of the package.
synopsis:           A backtracking logic-programming monad with asymptotic improvements to msplit

-- A longer description of the package.
description:        Adapted from the paper
                    <http://okmij.org/ftp/Haskell/zseq.pdf>
                    by Atze van der Ploeg and Oleg Kiselyov
category:           Control
-- A URL where users can report bugs.
bug-reports:        https://github.com/dagit/logict-sequence/issues

-- The license under which the package is released.
license:            MIT
license-file:       LICENSE
author:             Jason Dagit
maintainer:         Jason dagit <dagitj@gmail.com>
homepage:           https://github.com/dagit/logict-sequence

-- A copyright notice.
copyright: (c) 2021 Jason Dagit,
           (c) 2014 Atze van der Ploeg
-- category:
extra-source-files: CHANGELOG.md
                    README.md
tested-with: GHC==8.10.4

source-repository head
  type: git
  location: https://github.com/dagit/logict-sequence

library
    exposed-modules:  Control.Monad.Logic.Sequence

    -- Modules included in this library but not exported.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends: base >=4.3 && <5
    build-depends: mtl >=2.0 && <2.3
    build-depends: type-aligned >= 0.9.6 && < 0.10
    build-depends: sequence >= 0.9.8 && < 0.10
    build-depends: logict

    if impl(ghc < 8.0)
       build-depends: fail, transformers

    hs-source-dirs:   src
    default-language: Haskell2010
    ghc-options: -Wall -O2