Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ghcjsPureMap :: (a -> b) -> GHCJSPure a -> GHCJSPure bjsaddle Language.Javascript.JSaddle.Types No documentation available.
class
IsMap k (m :: Type -> Type) | m -> kmorpheus-graphql-core Data.Morpheus.Internal.Utils No documentation available.
-
morpheus-graphql-core Data.Morpheus.Types.Internal.AST No documentation available.
-
DiscreteMap was originally intended as a type class that unifies Map and Array. One should be able to simply choose between - Map for sparse arrays - Array for full arrays. However, the Edison package provides the class AssocX which already exists for that purpose. Currently I use this module for some numeric instances of Data.Map.
indexMapFromList :: C a => [(a, b)] -> Map (ToOrd a) bnumeric-prelude MathObj.PartialFraction No documentation available.
indexMapMapWithKey :: (a -> b -> c) -> Map (ToOrd a) b -> Map (ToOrd a) cnumeric-prelude MathObj.PartialFraction No documentation available.
indexMapToList :: Map (ToOrd a) b -> [(a, b)]numeric-prelude MathObj.PartialFraction No documentation available.
scalarMap :: (Show v, C a v) => (a -> a) -> T a v -> T a vnumeric-prelude Number.OccasionallyScalarExpression No documentation available.
scalarMap2 :: (Show v, C a v) => (a -> a -> a) -> T a v -> T a v -> T a vnumeric-prelude Number.OccasionallyScalarExpression No documentation available.
concatMap :: Foldable t => (a -> [b]) -> t a -> [b]numeric-prelude NumericPrelude Map a function over all the elements of a container and concatenate the resulting lists.
Examples
Basic usage:>>> concatMap (take 3) [[1..], [10..], [100..], [1000..]] [1,2,3,10,11,12,100,101,102,1000,1001,1002]
>>> concatMap (take 3) (Just [1..]) [1,2,3]