Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mapLogMessageM :: MonadLog message' m => (message -> m message') -> LoggingT message m a -> m a

    logging-effect Control.Monad.Log

    Monadic version of mapLogMessage. This can be used to annotate a message with something that can only be computed in a monad. See e.g. timestamp.

  2. mapLoggingT :: (forall x . () => (Handler m message -> m x) -> Handler n message' -> n x) -> LoggingT message m a -> LoggingT message' n a

    logging-effect Control.Monad.Log

    LoggingT unfortunately does admit an instance of the MFunctor type class, which provides the hoist method to change the monad underneath a monad transformer. However, it is possible to do this with LoggingT provided that you have a way to re-interpret a log handler in the original monad.

  3. map_ :: Term arg result => arg -> result

    lucid2 Lucid.Html5

    map element

  4. package mappings

    Types which represent functions k -> v A typeclass and a number of implementations; please read README.md on github

  5. mapKeysAntitonic :: (k -> l) -> Piecewise k v -> Piecewise l v

    mappings Data.Mapping.Piecewise

    Alter keys according to a function, assumed to be antitone (not checked)

  6. mapKeysMonotonic :: (k -> l) -> Piecewise k v -> Piecewise l v

    mappings Data.Mapping.Piecewise

    Alter keys according to a function, assumed to be monotone (not checked)

  7. 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

  8. 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

  9. mapCol :: forall (j :: Nat) (m :: Nat) (n :: Nat) a . (KnownNat j, KnownNat m, 1 <= j, j <= n) => (Int -> a -> a) -> Matrix m n a -> Matrix m n a

    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 )
    

  10. mapColUnsafe :: forall (m :: Nat) (n :: Nat) a . (Int -> a -> a) -> Int -> Matrix m n a -> Matrix m n a

    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 )
    

Page 347 of many | Previous | Next