Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- view :: Has (Reader r) sig m => Getter r a -> m a
- views :: Has (Reader r) sig m => Getter r a -> (a -> b) -> m b
- use :: Has (State s) sig m => Getter s a -> m a
- uses :: Has (State s) sig m => Getter s a -> (a -> b) -> m b
- assign :: Has (State s) sig m => Setter s s a b -> b -> m ()
- modifying :: Has (State s) sig m => Setter s s a b -> (a -> b) -> m ()
- (.=) :: Has (State s) sig m => Setter s s a b -> b -> m ()
- (%=) :: Has (State s) sig m => Setter s s a b -> (a -> b) -> m ()
- (?=) :: Has (State s) sig m => Setter s s a (Maybe b) -> b -> m ()
- (<~) :: Has (State s) sig m => Setter s s a b -> m b -> m ()
- (+=) :: (Has (State s) sig m, Num a) => Setter s s a a -> a -> m ()
- (-=) :: (Has (State s) sig m, Num a) => Setter s s a a -> a -> m ()
- (*=) :: (Has (State s) sig m, Num a) => Setter s s a a -> a -> m ()
- (//=) :: (Has (State s) sig m, Fractional a) => Setter s s a a -> a -> m ()