Version 0.1.0.0-0 of optics-operators is deprecated.
The latest version of optics-operators is 0.1.0.1-1.
optics-operators
Version 0.1.0.0 revision 0 uploaded by qwbarch.
Package meta
- Synopsis
- A tiny package containing operators missing from the official package.
- Description
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}
- Author
- qwbarch
- Bug reports
- https://github.com/qwbarch/optics-operators/issues
- Category
- Data, Optics, Lenses
- Copyright
- n/a
- Homepage
- https://github.com/qwbarch/optics-operators
- Maintainer
- qwbarch <qwbarch@gmail.com>
- Package URL
- n/a
- Stability
- n/a