heftia/heftia-effects/heftia-effects.cabal
2023-09-13 22:55:52 +09:00

152 lines
3.2 KiB
Plaintext

cabal-version: 2.4
name: heftia-effects
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: <synopsis>
-- A longer description of the package.
description: <description>
-- A URL where users can report bugs.
bug-reports: https://github.com/ymdryo/heftia-effects
-- The license under which the package is released.
license: MPL-2.0
license-file: LICENSE
author: Yamada Ryo <ymdfield@outlook.jp>
maintainer: Yamada Ryo <ymdfield@outlook.jp>
-- A copyright notice.
copyright: 2023 Yamada Ryo
category: Control, Effect, Monads
extra-source-files:
ChangeLog.md
NOTICE
tested-with:
GHC == 9.2.8
source-repository head
type: git
location: https://github.com/ymdryo/heftia-effects
common common-base
ghc-options: -Wall
default-language: GHC2021
default-extensions:
LambdaCase,
DerivingStrategies,
DataKinds,
TypeFamilies,
BlockArguments,
FunctionalDependencies,
RecordWildCards,
DefaultSignatures,
PatternSynonyms
library
import: common-base
exposed-modules:
Control.Effect.Handler.Heftia
Control.Effect.Handler.Heftia.Reader
Control.Effect.Handler.Heftia.Writer
Control.Effect.Handler.Heftia.State
Control.Effect.Handler.Heftia.Except
Control.Effect.Handler.Heftia.Provider
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>= 4.16.4.0,
heftia ^>= 0.1,
classy-effects ^>= 0.1,
mtl,
transformers
hs-source-dirs: src
test-suite test
import: common-base
main-is: Driver.hs
hs-source-dirs: test
build-depends:
heftia-effects,
classy-effects,
heftia,
base,
tasty ^>= 1.4,
tasty-hunit ^>= 0.10,
build-tool-depends:
tasty-discover:tasty-discover
type: exitcode-stdio-1.0
executable Teletype
import: common-base
main-is: Main.hs
hs-source-dirs: Example/Teletype
build-depends:
classy-effects,
heftia,
heftia-effects,
base,
executable Logging
import: common-base
main-is: Main.hs
hs-source-dirs: Example/Logging
build-depends:
classy-effects,
heftia,
heftia-effects,
base,
text,
time,
loglevel,
extra,
executable Continuation
import: common-base
main-is: Main.hs
hs-source-dirs: Example/Continuation
build-depends:
classy-effects,
heftia,
heftia-effects,
base,
executable ContinuationFetchImage
import: common-base
main-is: Main.hs
hs-source-dirs: Example/ContinuationFetchImage
build-depends:
classy-effects,
heftia,
heftia-effects,
base,
executable Tagged
import: common-base
main-is: Main.hs
hs-source-dirs: Example/Tagged
build-depends:
classy-effects,
heftia,
heftia-effects,
base,