Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

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

    lens Control.Lens.Combinators

    (<>) 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.

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

    lens Control.Lens.Combinators

    (<>) 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.

  3. (<<<>:=) :: (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 old result. However, unlike (<<<>=), it is prepended to the head side. When you do not need the result of the operation, (<>:=) is more flexible.

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

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

    lens Control.Lens.Lens

    Modify the target of a Lens into your Monad's state by using (<>) and return the old value that was replaced. When you do not need the result of the operation, (<>=) is more flexible.

    (<<<>=) :: (MonadState s m, Semigroup r) => Lens' s r -> r -> m r
    (<<<>=) :: (MonadState s m, Semigroup r) => Iso' s r -> r -> m r
    

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

    lens Control.Lens.Lens

    Modify the target of a monoidally valued Lens by using (<>) a new value and return the old value. When you do not need the old value, (<>~) is more flexible.

    >>> (Sum a,b) & _1 <<<>~ Sum c
    (Sum {getSum = a},(Sum {getSum = a + c},b))
    
    >>> _2 <<<>~ ", 007" $ ("James", "Bond")
    ("Bond",("James","Bond, 007"))
    
    (<<<>~) :: Semigroup r => Lens' s r -> r -> s -> (r, s)
    (<<<>~) :: Semigroup r => Iso' s r -> r -> s -> (r, s)
    

  7. (<<>:=) :: (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.

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

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

    lens Control.Lens.Lens

    (<>) a Semigroup value onto the end of the target of a Lens into your Monad's state and return the result. When you do not need the result of the operation, (<>=) is more flexible.

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

    lens Control.Lens.Lens

    (<>) a Semigroup value onto the end of the target of a Lens and return the result. When you do not need the result of the operation, (<>~) is more flexible.

Page 15 of many | Previous | Next