cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: polysemy-keyed-state
version: 0.1.1
synopsis: Effect for a set of stateful values indexed by a type of keys
description: The @KeyedState k@ effect provides access to a set of stateful values indexed by some key type @k :: Type -> Type@, where a key of type @k a@ can be used to access a stateful value of type @a@.
category: BSD3, Library
stability: experimental
homepage: https://github.com/kcsmnt0/polysemy-keyed-state#readme
bug-reports: https://github.com/kcsmnt0/polysemy-keyed-state/issues
maintainer: Katie Casamento <kcsmnt0@gmail.com>
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.5
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/kcsmnt0/polysemy-keyed-state
library
exposed-modules:
Polysemy.State.Keyed
Polysemy.State.Keyed.Law
other-modules:
Paths_polysemy_keyed_state
hs-source-dirs:
src
default-extensions:
AllowAmbiguousTypes
ConstraintKinds
DataKinds
FlexibleContexts
FlexibleInstances
GADTs
LambdaCase
MultiParamTypeClasses
QuantifiedConstraints
RankNTypes
ScopedTypeVariables
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
ghc-options: -Wall -Wincomplete-patterns -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
build-depends:
StateVar ==1.2.*
, base >=4.12 && <4.15
, constraints >=0.11 && <0.14
, constraints-extras >=0.3.0.2 && <0.4
, polysemy >=1.3 && <1.6
, some >=1.0.1 && <1.1
, trivial-constraint >=0.3 && <0.8
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Polysemy.State.Keyed
Polysemy.State.Keyed.Law
Paths_polysemy_keyed_state
hs-source-dirs:
src
test
default-extensions:
AllowAmbiguousTypes
ConstraintKinds
DataKinds
FlexibleContexts
FlexibleInstances
GADTs
LambdaCase
MultiParamTypeClasses
QuantifiedConstraints
RankNTypes
ScopedTypeVariables
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
StandaloneDeriving
ghc-options: -Wall -Wincomplete-patterns -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields -threaded
build-depends:
QuickCheck >=2.11.3 && <2.15
, StateVar ==1.2.*
, base >=4.12 && <4.15
, constraints >=0.11 && <0.14
, constraints-extras >=0.3.0.2 && <0.4
, hspec >=2.4.7 && <2.9
, polysemy >=1.3 && <1.6
, some >=1.0.1 && <1.1
, trivial-constraint >=0.3 && <0.8
default-language: Haskell2010