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. (!+!) :: (Additive m, Additive n, Num a) => m (n a) -> m (n a) -> m (n a)

    linear Linear.Matrix

    Entry-wise matrix addition.

    >>> V2 (V3 1 2 3) (V3 4 5 6) !+! V2 (V3 7 8 9) (V3 1 2 3)
    V2 (V3 8 10 12) (V3 5 7 9)
    

  2. (^+^) :: (Additive f, Num a) => f a -> f a -> f a

    linear Linear.Vector

    Compute the sum of two vectors

    >>> V2 1 2 ^+^ V2 3 4
    V2 4 6
    

  3. (<+>) :: Doc -> Doc -> Doc

    ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen

    No documentation available.

  4. (<++>) :: SrcSpanInfo -> SrcSpanInfo -> SrcSpanInfo

    haskell-src-exts Language.Haskell.Exts.SrcLoc

    Short name for combSpanInfo

  5. (<+?>) :: SrcSpanInfo -> Maybe SrcSpanInfo -> SrcSpanInfo

    haskell-src-exts Language.Haskell.Exts.SrcLoc

    Optionally combine the first argument with the second, or return it unchanged if the second argument is Nothing.

  6. (<?+>) :: Maybe SrcSpanInfo -> SrcSpanInfo -> SrcSpanInfo

    haskell-src-exts Language.Haskell.Exts.SrcLoc

    Optionally combine the second argument with the first, or return it unchanged if the first argument is Nothing.

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

    diagrams-lib Diagrams.Prelude

    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
    

  8. (<+~) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)

    diagrams-lib Diagrams.Prelude

    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)
    

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

    diagrams-lib Diagrams.Prelude

    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
    

  10. (<<+~) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)

    diagrams-lib Diagrams.Prelude

    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)
    

Page 43 of many | Previous | Next