packages feed

monad-interleave-0.2: monad-interleave.cabal

cabal-version: 2.2
name:
  monad-interleave
version:
  0.2
synopsis:
  Monads with an unsaveInterleaveIO-like operation.
description:
  A type class for monads that have an \"unsafeInterleave\" operation.
  Instances are provided for IO and both strict and lazy ST.
category:
  Monads
license:
  BSD-3-Clause
license-file:
  LICENSE
copyright:
  (c) 2009. Patrick Perry <patperry@stanford.edu>
  (c) 2022. Sergey Vinokurov <serg.foo@gmail.com>
author:
  Patrick Perry
maintainer:
  Sergey Vinokurov <serg.foo@gmail.com>

build-type:
  Simple

tested-with:
  GHC == 7.0.4,
  GHC == 7.2.2,
  GHC == 7.4.2,
  GHC == 7.6.3,
  GHC == 7.8.4,
  GHC == 7.10.3,
  GHC == 8.0.2,
  GHC == 8.2.2,
  GHC == 8.4.4,
  GHC == 8.6.5,
  GHC == 8.8.4,
  GHC == 8.10.7,
  GHC == 9.0.2,
  GHC == 9.2.4,
  GHC == 9.4.2,
  GHC == 9.4.2,
  GHC == 9.4.2

extra-source-files:
  Readme.md
  Changelog.md

homepage:
  https://github.com/sergv/monad-interleave
bug-reports:
  https://github.com/sergv/monad-interleave/issues

source-repository head
  type: git
  location: https://github.com/sergv/monad-interleave.git

common ghc-options
  default-language:
    Haskell2010

  if impl(ghc < 8.0)
    ghc-options:
      -Wall

  if impl(ghc >= 8.0)
    ghc-options:
      -Weverything
      -Wno-all-missed-specialisations
      -Wno-implicit-prelude
      -Wno-missed-specialisations
      -Wno-missing-import-lists
      -Wno-missing-local-signatures
      -Wno-missing-safe-haskell-mode
      -Wno-safe
      -Wno-type-defaults
      -Wno-unsafe

  if impl(ghc >= 8.8)
    ghc-options:
      -Wno-missing-deriving-strategies

  if impl(ghc >= 8.10)
    ghc-options:
      -Wno-prepositive-qualified-module

  if impl(ghc >= 9.2)
    ghc-options:
      -Wno-missing-kind-signatures

library name
  import: ghc-options
  exposed-modules:
    Control.Monad.Interleave
  hs-source-dirs:
    src
  build-depends:
    , base >= 4 && <5