Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
map_ :: Term arg result => arg -> resultlucid2 Lucid.Html5 map element
-
Types which represent functions k -> v A typeclass and a number of implementations; please read README.md on github
mapKeysAntitonic :: (k -> l) -> Piecewise k v -> Piecewise l vmappings Data.Mapping.Piecewise Alter keys according to a function, assumed to be antitone (not checked)
mapKeysMonotonic :: (k -> l) -> Piecewise k v -> Piecewise l vmappings Data.Mapping.Piecewise Alter keys according to a function, assumed to be monotone (not checked)
mapLinear :: (Double -> b) -> Double -> Double -> Double -> [b]matplotlib Graphics.Matplotlib A handy miscellaneous function to linearly map over a range of numbers in a given number of steps
mapLinear :: (Double -> b) -> Double -> Double -> Double -> [b]matplotlib Graphics.Matplotlib.Internal A handy miscellaneous function to linearly map over a range of numbers in a given number of steps
-
matrix-static Data.Matrix.Static O(rows*cols). Map a function over a column. The row to map is given by a TypeLevel Nat. To use this, use -XDataKinds and -XTypeApplications. Example:
( 1 2 3 ) ( 1 3 3 ) ( 4 5 6 ) ( 4 6 6 ) mapCol @2 (\_ x -> x + 1) ( 7 8 9 ) = ( 7 9 9 )
-
matrix-static Data.Matrix.Static O(rows*cols). Map a function over a column. The bounds of the row parameter is not checked and might throw an error. Example:
( 1 2 3 ) ( 1 3 3 ) ( 4 5 6 ) ( 4 6 6 ) mapColUnsafe (\_ x -> x + 1) 2 ( 7 8 9 ) = ( 7 9 9 )
mapPos :: forall a b (m :: Nat) (n :: Nat) . ((Int, Int) -> a -> b) -> Matrix m n a -> Matrix m n bmatrix-static Data.Matrix.Static O(rows*cols). Map a function over elements. Example:
( 1 2 3 ) ( 0 -1 -2 ) ( 4 5 6 ) ( 1 0 -1 ) mapPos (\(r,c) _ -> r - c) ( 7 8 9 ) = ( 2 1 0 )
Only available when used with matrix >= 0.3.6!-
matrix-static Data.Matrix.Static O(rows*cols). Map a function over a row. The row to map is given by a TypeLevel Nat. To use this, use -XDataKinds and -XTypeApplications. Example:
( 1 2 3 ) ( 1 2 3 ) ( 4 5 6 ) ( 5 6 7 ) mapRow @2 (\_ x -> x + 1) ( 7 8 9 ) = ( 7 8 9 )