Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapSomeBase :: (forall b . () => Path b t -> Path b t') -> SomeBase t -> SomeBase t'path Path.Posix Helper to apply a function to the SomeBase object
>>> mapSomeBase parent (Abs [absfile|/foo/bar/cow.moo|]) == Abs [absdir|"/foo/bar"|]
mapSomeBase :: (forall b . () => Path b t -> Path b t') -> SomeBase t -> SomeBase t'path Path.Windows Helper to apply a function to the SomeBase object
>>> mapSomeBase parent (Abs [absfile|/foo/bar/cow.moo|]) == Abs [absdir|"/foo/bar"|]
mapDict :: (a :- b) -> Dict a -> Dict bconstraints Data.Constraint Apply an entailment to a dictionary. From a category theoretic perspective Dict is a functor that maps from the category of constraints (with arrows in :-) to the category Hask of Haskell data types.
mapUrls :: UrlMap -> Applicationwai-extra Network.Wai.UrlMap No documentation available.
mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> alifted-base Control.Exception.Lifted This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".
mapItems :: (Item a -> Item b) -> SpecWith a -> SpecWith bhspec-core Test.Hspec.Core.Extension.Spec No documentation available.
mapItems :: (Item () -> Item ()) -> [SpecTree] -> [SpecTree]hspec-core Test.Hspec.Core.Extension.Tree No documentation available.
mapSubject :: (b -> a) -> SpecWith a -> SpecWith bhspec-core Test.Hspec.Core.Hooks Modify the subject under test. Note that this resembles a contravariant functor on the first type parameter of SpecM. This is because the subject is passed inwards, as an argument to the spec item.
mapSpecForest :: ([SpecTree a] -> [SpecTree b]) -> SpecM a r -> SpecM b rhspec-core Test.Hspec.Core.Spec No documentation available.
mapSpecItem :: (ActionWith a -> ActionWith b) -> (Item a -> Item b) -> SpecWith a -> SpecWith bhspec-core Test.Hspec.Core.Spec Deprecated: Use mapSpecItem_ instead.