smirk-polysemy-0.1.0.0: smirk-polysemy.cabal
cabal-version: 3.0
name: smirk-polysemy
version: 0.1.0.0
synopsis: Polysemy interface for the Smirk PCRE engine
description:
Exposes Smirk's pure, step-bounded PCRE engine as a 'polysemy' effect
('Smirk.Effect.Polysemy'), with pure and fuel-bounded interpreters.
This package depends on the plain 'smirk' package for the core engine, so
consumers who only need polysemy (not effectful) do not drag in effectful.
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-polysemy
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.Polysemy
build-depends:
base >= 4.16 && < 5,
polysemy >= 1.9 && < 2,
smirk >= 0.1 && < 0.2,
text >= 2.0 && < 3
test-suite smirk-polysemy-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base >= 4.16 && < 5,
hspec >= 2.10 && < 3,
polysemy >= 1.9 && < 2,
smirk >= 0.1 && < 0.2,
smirk-polysemy,
text >= 2.0 && < 3