Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m alens Control.Lens.Lens Add to the target of a numerically valued Lens into your Monad's state and return the result. When you do not need the result of the addition, (+=) is more flexible.
(<+=) :: (MonadState s m, Num a) => Lens' s a -> a -> m a (<+=) :: (MonadState s m, Num a) => Iso' s a -> a -> m a
(
<+~ ) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)lens Control.Lens.Lens Increment the target of a numerically valued Lens and return the result. When you do not need the result of the addition, (+~) is more flexible.
(<+~) :: Num a => Lens' s a -> a -> s -> (a, s) (<+~) :: Num a => Iso' s a -> a -> s -> (a, s)
(
<<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m alens Control.Lens.Lens Modify the target of a Lens into your Monad's state by adding a value and return the old value that was replaced. When you do not need the result of the operation, (+=) is more flexible.
(<<+=) :: (MonadState s m, Num a) => Lens' s a -> a -> m a (<<+=) :: (MonadState s m, Num a) => Iso' s a -> a -> m a
(
<<+~ ) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)lens Control.Lens.Lens Increment the target of a numerically valued Lens and return the old value. When you do not need the old value, (+~) is more flexible.
>>> (a,b) & _1 <<+~ c (a,(a + c,b))
>>> (a,b) & _2 <<+~ c (b,(a,b + c))
(<<+~) :: Num a => Lens' s a -> a -> s -> (a, s) (<<+~) :: Num a => Iso' s a -> a -> s -> (a, s)
(
<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m alens Control.Lens.Operators Add to the target of a numerically valued Lens into your Monad's state and return the result. When you do not need the result of the addition, (+=) is more flexible.
(<+=) :: (MonadState s m, Num a) => Lens' s a -> a -> m a (<+=) :: (MonadState s m, Num a) => Iso' s a -> a -> m a
(
<+~ ) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)lens Control.Lens.Operators Increment the target of a numerically valued Lens and return the result. When you do not need the result of the addition, (+~) is more flexible.
(<+~) :: Num a => Lens' s a -> a -> s -> (a, s) (<+~) :: Num a => Iso' s a -> a -> s -> (a, s)
(
<<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m alens Control.Lens.Operators Modify the target of a Lens into your Monad's state by adding a value and return the old value that was replaced. When you do not need the result of the operation, (+=) is more flexible.
(<<+=) :: (MonadState s m, Num a) => Lens' s a -> a -> m a (<<+=) :: (MonadState s m, Num a) => Iso' s a -> a -> m a
(
<<+~ ) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)lens Control.Lens.Operators Increment the target of a numerically valued Lens and return the old value. When you do not need the old value, (+~) is more flexible.
>>> (a,b) & _1 <<+~ c (a,(a + c,b))
>>> (a,b) & _2 <<+~ c (b,(a,b + c))
(<<+~) :: Num a => Lens' s a -> a -> s -> (a, s) (<<+~) :: Num a => Iso' s a -> a -> s -> (a, s)
(
<<+>> ) :: Chunk Doc -> Chunk Doc -> Chunk Docoptparse-applicative Options.Applicative.Help.Chunk Concatenate two Chunks with a space in between. If one is empty, this just returns the other one. Unlike <+> for Doc, this operation has a unit element, namely the empty Chunk.
(
<+> ) :: Doc ann -> Doc ann -> Doc annoptparse-applicative Options.Applicative.Help.Pretty (x <+> y) concatenates document x and y with a space in between.
>>> "hello" <+> "world" hello world
x <+> y = x <> space <> y