Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. mapSubTries :: Ord k => (Trie k u -> Maybe v) -> Trie k u -> Trie k v

    Agda Agda.Utils.Trie

    Create new values based on the entire subtrie. Almost, but not quite comonad extend.

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

    Agda Agda.Utils.Tuple

    mapFst f = f -*- id
    

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

    Agda Agda.Utils.Tuple

    Monadic mapFst.

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

    Agda Agda.Utils.Tuple

    Monadic version of -*-.

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

    Agda Agda.Utils.Tuple

    mapSnd g = id -*- g
    

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

    Agda Agda.Utils.Tuple

    Monadic mapSnd.

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

    Agda Agda.Utils.Update

    Map a ChangeT computation (monad transformer action).

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

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

    Agda Agda.Utils.WithDefault

    Only modify non-Default values.

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

    BNFC BNFC.CF

    Modify the rhsRule part of a Rule.

Page 276 of many | Previous | Next