packages feed

log-effectful-1.0.0.0: log-effectful.cabal

cabal-version:      2.4
build-type:         Simple
name:               log-effectful
version:            1.0.0.0
license:            BSD-3-Clause
license-file:       LICENSE
category:           System
maintainer:         andrzej@rybczak.net
author:             Andrzej Rybczak, Dominik Peteler

synopsis:           Adaptation of the log library for the effectful ecosystem.

description:        Adaptation of the @<https://hackage.haskell.org/package/log-base log-base>@ library for the @<https://hackage.haskell.org/package/effectful effectful>@ ecosystem.

extra-source-files:
  CHANGELOG.md
  README.md

tested-with: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.2

bug-reports: https://github.com/haskell-effectful/log-effectful/issues
source-repository head
  type:     git
  location: https://github.com/haskell-effectful/log-effectful

common language
  ghc-options:        -Wall -Wcompat -Wno-unticked-promoted-constructors

  default-language:   Haskell2010

  default-extensions: BangPatterns
                      ConstraintKinds
                      DataKinds
                      DeriveFunctor
                      DeriveGeneric
                      DerivingStrategies
                      FlexibleContexts
                      FlexibleInstances
                      GADTs
                      GeneralizedNewtypeDeriving
                      LambdaCase
                      MultiParamTypeClasses
                      NoStarIsType
                      RankNTypes
                      RoleAnnotations
                      ScopedTypeVariables
                      StandaloneDeriving
                      TupleSections
                      TypeApplications
                      TypeFamilies
                      TypeOperators

library
  import:          language

  build-depends:     base            <5
                   , effectful-core  >=1.0.0.0    && <3.0.0.0
                   , log-base        >=0.12.0.0
                   , text
                   , time

  hs-source-dirs:  src

  exposed-modules: Effectful.Log

test-suite test
  import:          language

  ghc-options:     -threaded -rtsopts -with-rtsopts=-N4

  build-depends:     base
                   , aeson
                   , effectful-core
                   , log-base
                   , log-effectful
                   , text

  hs-source-dirs: tests

  type:           exitcode-stdio-1.0
  main-is:        Main.hs