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.
(
!+! ) :: (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)
(
^+^ ) :: (Additive f, Num a) => f a -> f a -> f alinear Linear.Vector Compute the sum of two vectors
>>> V2 1 2 ^+^ V2 3 4 V2 4 6
-
ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen No documentation available.
(
<++> ) :: SrcSpanInfo -> SrcSpanInfo -> SrcSpanInfohaskell-src-exts Language.Haskell.Exts.SrcLoc Short name for combSpanInfo
(
<+?> ) :: SrcSpanInfo -> Maybe SrcSpanInfo -> SrcSpanInfohaskell-src-exts Language.Haskell.Exts.SrcLoc Optionally combine the first argument with the second, or return it unchanged if the second argument is Nothing.
(
<?+> ) :: Maybe SrcSpanInfo -> SrcSpanInfo -> SrcSpanInfohaskell-src-exts Language.Haskell.Exts.SrcLoc Optionally combine the second argument with the first, or return it unchanged if the first argument is Nothing.
(
<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m adiagrams-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
(
<+~ ) :: 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)
(
<<+= ) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m adiagrams-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
(
<<+~ ) :: 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)