optics-operators: A tiny package containing operators missing from the official package.
This version is deprecated.
A tiny package containing operators missing from the official package. Basic example using state operators:
newtype Person = Person { age :: Int } deriving (Show, Generic)
main :: IO ()
main = print <=< flip execStateT (Person 0) $ do
#age += 50
#age -= 20
-- Output: Person {age = 30}
Downloads
- optics-operators-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.1.0.0, 0.1.0.1 (info) |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.10 && <5), mtl (>=2 && <3), optics-core (>=0.4 && <1) [details] |
| License | MIT |
| Author | qwbarch |
| Maintainer | qwbarch <qwbarch@gmail.com> |
| Category | Data, Optics, Lenses |
| Home page | https://github.com/qwbarch/optics-operators |
| Bug tracker | https://github.com/qwbarch/optics-operators/issues |
| Uploaded | by qwbarch at 2023-06-24T09:58:02Z |
| Distributions | LTSHaskell:0.1.0.1, Stackage:0.1.0.1 |
| Executables | readme |
| Downloads | 268 total (7 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2023-06-24 [all 2 reports] |