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.

  1. (<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a

    lens 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
    

  2. (<+~) :: 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)
    

  3. (<<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a

    lens 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
    

  4. (<<+~) :: 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)
    

  5. (<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a

    lens 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
    

  6. (<+~) :: 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)
    

  7. (<<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a

    lens 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
    

  8. (<<+~) :: 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)
    

  9. (<<+>>) :: Chunk Doc -> Chunk Doc -> Chunk Doc

    optparse-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.

  10. (<+>) :: Doc ann -> Doc ann -> Doc ann

    optparse-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
    

Page 38 of many | Previous | Next