Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. mapFst :: (a -> c) -> (a, b) -> (c, b)

    Agda Agda.Utils.Tuple

    mapFst f = f -*- id
    

  2. mapFstM :: Functor m => (a -> m c) -> (a, b) -> m (c, b)

    Agda Agda.Utils.Tuple

    Monadic mapFst.

  3. mapPairM :: Applicative m => (a -> m c) -> (b -> m d) -> (a, b) -> m (c, d)

    Agda Agda.Utils.Tuple

    Monadic version of -*-.

  4. mapSnd :: (b -> d) -> (a, b) -> (a, d)

    Agda Agda.Utils.Tuple

    mapSnd g = id -*- g
    

  5. mapSndM :: Functor m => (b -> m d) -> (a, b) -> m (a, d)

    Agda Agda.Utils.Tuple

    Monadic mapSnd.

  6. mapChangeT :: (m (a, Any) -> n (b, Any)) -> ChangeT m a -> ChangeT n b

    Agda Agda.Utils.Update

    Map a ChangeT computation (monad transformer action).

  7. mapMonotonic :: (Key -> Key) -> IntSet -> IntSet

    Agda Agda.Utils.VarSet

    The mapMonotonic f s == map f s, but works only when f is strictly increasing. The precondition is not checked. Semi-formally, we have:

    and [x < y ==> f x < f y | x <- ls, y <- ls]
    ==> mapMonotonic f s == map f s
    where ls = toList s
    

  8. mapValue :: forall a (b :: Bool) . Boolean a => (a -> a) -> WithDefault' a b -> WithDefault' a b

    Agda Agda.Utils.WithDefault

    Only modify non-Default values.

  9. mapRhs :: (SentForm -> SentForm) -> Rul f -> Rul f

    BNFC BNFC.CF

    Modify the rhsRule part of a Rule.

  10. mapHead :: (a -> a) -> [a] -> [a]

    BNFC BNFC.Utils

    Apply a function to the head of a list.

Page 277 of many | Previous | Next