cabal-version: 3.4
-- The cabal-version field refers to the version of the .cabal specification,
-- and can be different from the cabal-install (the tool) version and the
-- Cabal (the library) version you are using. As such, the Cabal (the library)
-- version used must be equal or greater than the version stated in this field.
-- Starting from the specification version 2.2, the cabal-version field must be
-- the first thing in the cabal file.
-- Initial package description 'placeholder' generated by
-- 'cabal init'. For further documentation, see:
-- http://haskell.org/cabal/users-guide/
--
-- The name of the package.
name: co-log-effectful
synopsis: effectful log effect using co-log-core
description:
co-log-effectful provides a `Log` effect for effectful that can use `LogAction`s in the `Eff` monad
category: library, logging, control, bsd3
-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
-- guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.0.1
homepage: https://github.com/eldritch-cookie/co-log-effectful
bug-reports: https://github.com/eldritch-cookie/co-log-effectful/issues
-- The license under which the package is released.
license: BSD-3-Clause
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Eldritch Cookie
-- An email address to which users can send suggestions, bug reports, and patches.
maintainer: eldritch.cookie@disroot.org
-- A copyright notice.
-- copyright:
build-type: Simple
-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.6.6 || ==9.10.1
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:
common deps
ghc-options: -Wall -fplugin=Effectful.Plugin
build-depends:
, base >=4.18.2 && <5
, bytestring >=0.11.5 && <1
, co-log-core >=0.3.2 && <1
, effectful >=2.3.1 && <3
, effectful-core >=2.3.1 && <3
, effectful-plugin >=1.1.0 && <2
, text >=2.0.2 && <3
default-extensions:
DataKinds
DerivingStrategies
DerivingVia
DuplicateRecordFields
FunctionalDependencies
NoCUSKs
NoFieldSelectors
NoStarIsType
OverloadedLists
OverloadedRecordDot
OverloadedStrings
QuantifiedConstraints
ScopedTypeVariables
TypeFamilyDependencies
TypeOperators
default-language: GHC2021
library
import: deps
exposed-modules: Effectful.Colog
hs-source-dirs: src
test-suite co-log-effectful-test
import: deps
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: Effectful.CologTest
build-depends:
, co-log-effectful
, QuickCheck >=2.14.3
, tasty >=1.4.3
, tasty-golden >=2.3.5
, tasty-hunit >=0.10.2
, tasty-quickcheck >=0.10.2
build-tool-depends: tasty-discover:tasty-discover
source-repository head
type: git
location: https://github.com/eldritch-cookie/co-log-effectful