Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
<$ ) :: Functor f => a -> f b -> f axmonad-contrib XMonad.Config.Prime Replace all locations in the input with the same value. The default definition is fmap . const, but this may be overridden with a more efficient version.
Examples
Perform a computation with Maybe and replace the result with a constant value if it is Just:>>> 'a' <$ Just 2 Just 'a' >>> 'a' <$ Nothing Nothing
cons :: (Vector v a, Vector w a, Dim w ~ 'S (Dim v)) => a -> v a -> w afixed-vector Data.Vector.Fixed Cons element to the vector
snoc :: (Vector v a, Vector w a, Dim w ~ 'S (Dim v)) => a -> v a -> w afixed-vector Data.Vector.Fixed Append element to the vector
(
*> ) :: (C v, C a) => a -> v a -> v anumeric-prelude Algebra.Vector scale a vector by a scalar
(
*^ ) :: (Functor f, Num a) => a -> f a -> f alinear Linear.Vector Compute the left scalar product
>>> 2 *^ V2 3 4 V2 6 8
functorScale :: (Functor v, C a) => a -> v a -> v anumeric-prelude Algebra.Vector No documentation available.
(
#*& ) :: (C set, Enum a) => a -> set a -> set aboard-games Game.Mastermind.CodeSet No documentation available.
scaleD :: (Vector v b, Num b) => b -> v b -> v brp-tree Data.RPTree No documentation available.
snoc :: Vector v a => v a -> a -> v ario RIO.Vector No documentation available.
snoc :: Vector v a => v a -> a -> v arebase Rebase.Data.Vector.Generic No documentation available.