Cabal revisions of references-0.2.0.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
name: references version: 0.2.0.0 +x-revision: 1 synopsis: Generalization of lenses, folds and traversals to handle monads and addition. description: References can read, write or update parts of the data. They are first-class values, can be passed in functions, transformed, combined. There are two things that references can do but the previously mentioned access methods don't. . * References can cooperate with monads, for example IO. + . * References can be added using the @&+&@ operator, to create new lenses more easily. . Basic idea taken from the currently not maintained package <https://hackage.haskell.org/package/yall>. New references can be created in several ways: . * From getter, setter and updater, using the @reference@ function. - * From getter and setter, using one of the simplified functions (@lens@, @simplePartial@, @partial@, ...). - * Using the `Data.Traversal` instance on a datatype to generate a traversal of each element. - * Using lenses from `Control.Lens` package. There are a lot of packages defining lenses, folds and traversals + . + * From getter and setter, using one of the simplified functions (@lens@, @simplePartial@, @partial@, ...). + . + * Using the `Data.Traversal` instance on a datatype to generate a traversal of each element. + . + * Using lenses from `Control.Lens` package. There are a lot of packages defining lenses, folds and traversals for various data structures, so it is very useful that all of them can simply be converted into a reference. - * Generating references for newly defined records using the `makeReferences` Template Haskell function. . + * Generating references for newly defined records using the `makeReferences` Template Haskell function. + . , template-haskell >=2.8 && <3 , transformers-base >= 0.4 && <0.5 , monad-control >= 0.3 && <0.4 - , lifted-base >= 0.2 && <0.3+ , lifted-base >= 0.2 && <0.3