Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2021-03-06T13:15:26Z
- Loading branch information
1 parent
100851c
commit 238cbc7
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: monad-var | ||
version: 0.2.2.0 | ||
synopsis: Generic operations over variables | ||
description: The aim of this library is to provide a unified set of operations (@new@, @read@, @write@, @swap@, various strict @mutate*@ functions and their derivatives (like mutate-and-return-the-old-value) and a certain interface for @MVar@-like things) over all common variable types: @IORef@, @STRef s@, @MVar@, @TVar@, @TMVar@. | ||
When possible type classes are generalized to be over abstract containers rather than variables: e.g. it'd make sense to implement @MonadRead TChan@ and @MonadMutate_ Vector@ instances, but no such instances are provided right now. | ||
There are also some lenses to be described in an upcoming blog post. | ||
homepage: https://github.com/effectfully/monad-var#readme | ||
author: effectfully | ||
maintainer: effectfully@gmail.com | ||
license: BSD3 | ||
build-type: Simple | ||
extra-source-files: README.md | ||
cabal-version: >=1.10 | ||
|
||
library | ||
hs-source-dirs: src | ||
exposed-modules: MonadVar | ||
MonadVar.Classes | ||
MonadVar.Combinators | ||
MonadVar.Default | ||
MonadVar.Instances.IORef | ||
MonadVar.Instances.MVar | ||
MonadVar.Instances.STRef | ||
MonadVar.Instances.TMVar | ||
MonadVar.Instances.TVar | ||
MonadVar.Lens | ||
other-modules: MonadVar.Compat | ||
MonadVar.Prelude | ||
build-depends: base >= 4.7 && < 6, | ||
base-compat >= 0.9.0, | ||
stm >= 2.2 | ||
if impl(ghc < 8.0) | ||
build-depends: transformers >= 0.4 | ||
default-language: Haskell2010 | ||
default-extensions: MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, TypeFamilies, | ||
BangPatterns, | ||
NoImplicitPrelude | ||
ghc-options: -O2 -Wall -fno-warn-unused-do-bind -fno-warn-orphans | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/effectfully/monad-var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"aa12b291d45ee7ec3a0c21413bb1aa4b","Skein512_512":"79a1711242bee1b8d20e11d37699596f4b4543ae274d3d338914b45e5c35f5807fbc581cb57a5041ab9cf56596720269745461f6c6cf4dde8718c81417e40d54","SHA1":"f06ac9623c5a2b2d612995fe27ee5ab270472e27","SHA512":"ae293f6757e433ffc7e44c52c7ddbd54eed76dcdcf3921044b048b44d7cb1aff3d07a040e8d7065bb13c1dcea970f00bbdf043b08bcbe19e372ca0e5388b5ff3","SHA256":"088210595a810451b15c62fc8b6a4c1021901dea6ea5950b858af22b42bab545"},"package-locations":["https://hackage.haskell.org/package/monad-var-0.2.2.0/monad-var-0.2.2.0.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/monad-var-0.2.2.0.tar.gz"],"package-size":5441} |