Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. (<<<>:~) :: Semigroup m => LensLike' ((,) m) s m -> m -> s -> (m, s)

    lens Control.Lens.Lens

    (<>) a Semigroup value onto the front of the target of a Lens and return the old result. However, unlike (<<>~), it is prepended to the head side. When you do not need the result of the operation, (<>:~) is more flexible.

  2. (<<>:=) :: (MonadState s m, Semigroup r) => LensLike' ((,) r) s r -> r -> m r

    lens Control.Lens.Lens

    (<>) a Semigroup value onto the front of the target of a Lens into your Monad's state and return the result. However, unlike (<<>=), it is prepended to the head side. When you do not need the result of the operation, (<>:=) is more flexible.

  3. (<<>:~) :: Semigroup m => LensLike ((,) m) s t m m -> m -> s -> (m, t)

    lens Control.Lens.Lens

    (<>) a Semigroup value onto the front of the target of a Lens and return the result. However, unlike (<<>~), it is prepended to the head side. When you do not need the result of the operation, (<>:~) is more flexible.

  4. (<<<>:=) :: (MonadState s m, Semigroup r) => LensLike' ((,) r) s r -> r -> m r

    lens Control.Lens.Operators

    (<>) a Semigroup value onto the front of the target of a Lens into your Monad's state and return the old result. However, unlike (<<<>=), it is prepended to the head side. When you do not need the result of the operation, (<>:=) is more flexible.

  5. (<<<>:~) :: Semigroup m => LensLike' ((,) m) s m -> m -> s -> (m, s)

    lens Control.Lens.Operators

    (<>) a Semigroup value onto the front of the target of a Lens and return the old result. However, unlike (<<>~), it is prepended to the head side. When you do not need the result of the operation, (<>:~) is more flexible.

  6. (<<>:=) :: (MonadState s m, Semigroup r) => LensLike' ((,) r) s r -> r -> m r

    lens Control.Lens.Operators

    (<>) a Semigroup value onto the front of the target of a Lens into your Monad's state and return the result. However, unlike (<<>=), it is prepended to the head side. When you do not need the result of the operation, (<>:=) is more flexible.

  7. (<<>:~) :: Semigroup m => LensLike ((,) m) s t m m -> m -> s -> (m, t)

    lens Control.Lens.Operators

    (<>) a Semigroup value onto the front of the target of a Lens and return the result. However, unlike (<<>~), it is prepended to the head side. When you do not need the result of the operation, (<>:~) is more flexible.

  8. (<>:=) :: (MonadState s m, Semigroup a) => ASetter' s a -> a -> m ()

    lens Control.Lens.Operators

    Modify the target(s) of a Lens', Iso, Setter or Traversal by using (<>). However, unlike <>=, it is prepend to the head side.

  9. (<>:~) :: Semigroup b => ASetter s t b b -> b -> s -> t

    lens Control.Lens.Operators

    Modify the target of a Semigroup value by using (<>). However, unlike <>~, it is prepend to the head side.

    >>> ["world"] & id <>:~ ["hello"]
    ["hello","world"]
    
    >>> (["world"], ["lens"]) & _1 <>:~ ["hello"]
    (["hello","world"],["lens"])
    

  10. (<>:=) :: (MonadState s m, Semigroup a) => ASetter' s a -> a -> m ()

    lens Control.Lens.Setter

    Modify the target(s) of a Lens', Iso, Setter or Traversal by using (<>). However, unlike <>=, it is prepend to the head side.

Page 75 of many | Previous | Next