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.
-
contiguous Data.Primitive.Contiguous Map over the elements of an array. Note that because a new array must be created, the resulting array type can be different than the original.
map :: Ord k => Decoder k -> Decoder v -> Decoder (Map k v)dhall Dhall.Marshal.Decode Decode a Map from a toMap expression or generally a Prelude.Map.Type.
>>> input (Dhall.map strictText bool) "toMap { a = True, b = False }" fromList [("a",True),("b",False)] >>> input (Dhall.map strictText bool) "[ { mapKey = \"foo\", mapValue = True } ]" fromList [("foo",True)]
If there are duplicate mapKeys, later mapValues take precedence:>>> let expr = "[ { mapKey = 1, mapValue = True }, { mapKey = 1, mapValue = False } ]" >>> input (Dhall.map natural bool) expr fromList [(1,False)]
map :: (a -> b) -> Triexpr a -> Triexpr bexpress Data.Express.Triexpr Maps a function to the stored values in a Triexpr.
map :: (Context a, Context b) => (a -> b) -> Matrix a -> Matrix bmatrices Data.Matrix No documentation available.
-
matrices Data.Matrix.Generic No documentation available.
map :: (Context a, Context b) => (a -> b) -> Matrix a -> Matrix bmatrices Data.Matrix.Storable No documentation available.
-
matrices Data.Matrix.Symmetric.Generic No documentation available.
map :: (Context a, Context b) => (a -> b) -> Matrix a -> Matrix bmatrices Data.Matrix.Unboxed No documentation available.
map :: (v1 -> v2) -> MonoidalHashMap k v1 -> MonoidalHashMap k v2monoidal-containers Data.HashMap.Monoidal O(n) Transform this map by applying a function to every value.
map :: (a -> b) -> MonoidalIntMap a -> MonoidalIntMap bmonoidal-containers Data.IntMap.Monoidal No documentation available.