smirk-effectful-0.1.0.0: smirk-effectful.cabal
cabal-version: 3.0
name: smirk-effectful
version: 0.1.0.0
synopsis: Effectful (algebraic effects) interface for the Smirk PCRE engine
description:
Exposes Smirk's pure, step-bounded PCRE engine as an 'effectful' first-class
effect ('Smirk.Effect.Effectful'), with pure and fuel-bounded interpreters.
This package depends on the plain 'smirk' package for the core engine, so
consumers who only need effectful (not polysemy) do not drag in polysemy.
license: Apache-2.0
license-file: LICENSE
author: Nadia Yvette Chambers
maintainer: Nadia Chambers <nadia.yvette.chambers@ik.me>
homepage: https://github.com/NadiaYvette/smirk
bug-reports: https://github.com/NadiaYvette/smirk/issues
category: Text, Regex, Effects
build-type: Simple
extra-doc-files:
README.md
, CHANGELOG.md
, LICENSE
source-repository head
type: git
location: https://github.com/NadiaYvette/smirk.git
subdir: packages/smirk-effectful
common common-options
default-language: GHC2021
default-extensions:
DataKinds
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
GADTs
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
OverloadedRecordDot
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
TypeApplications
TypeFamilies
TypeOperators
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
library
import: common-options
hs-source-dirs: src
exposed-modules:
Smirk.Effect.Effectful
build-depends:
base >= 4.16 && < 5,
effectful >= 2.0 && < 3,
effectful-core >= 2.0 && < 3,
effectful-th >= 1.0 && < 2,
smirk >= 0.1 && < 0.2,
text >= 2.0 && < 3
test-suite smirk-effectful-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base >= 4.16 && < 5,
effectful >= 2.0 && < 3,
hspec >= 2.10 && < 3,
smirk >= 0.1 && < 0.2,
smirk-effectful,
text >= 2.0 && < 3