mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-27 11:44:45 +03:00
76 lines
2.3 KiB
Plaintext
76 lines
2.3 KiB
Plaintext
cabal-version: 2.4
|
|
build-type: Simple
|
|
name: effectful-th
|
|
version: 0.1
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
category: Control
|
|
maintainer: andrzej@rybczak.net
|
|
author: Andrzej Rybczak
|
|
synopsis: Template Haskell utilities for the effectful library.
|
|
|
|
description: Generate functions for performing operations of dynamically
|
|
dispatched effects via Template Haskell.
|
|
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
tested-with: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.2
|
|
|
|
bug-reports: https://github.com/arybczak/effectful/issues
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/arybczak/effectful.git
|
|
|
|
common language
|
|
ghc-options: -Wall -Wcompat -Wno-unticked-promoted-constructors
|
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: BangPatterns
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
NoStarIsType
|
|
RankNTypes
|
|
RecordWildCards
|
|
RoleAnnotations
|
|
ScopedTypeVariables
|
|
StandaloneDeriving
|
|
TupleSections
|
|
TypeApplications
|
|
TypeFamilies
|
|
TypeOperators
|
|
|
|
library
|
|
import: language
|
|
|
|
build-depends: base >= 4.13 && < 5
|
|
, containers >= 0.6
|
|
, effectful >= 0.1 && < 0.1.1
|
|
, exceptions >= 0.10.4
|
|
, template-haskell >= 2.15 && < 2.20
|
|
, th-abstraction >= 0.4 && < 0.5
|
|
|
|
hs-source-dirs: src
|
|
|
|
exposed-modules: Effectful.TH
|
|
|
|
test-suite th-tests
|
|
import: language
|
|
|
|
build-depends: base
|
|
, effectful
|
|
, effectful-th
|
|
|
|
hs-source-dirs: tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
main-is: ThTests.hs
|