Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
firstM :: Functor m => (a -> m a') -> (a, b) -> m (a', b)extra Extra Update the first component of a pair.
firstM (\x -> [x-1, x+1]) (1,"test") == [(0,"test"),(2,"test")]
-
ghc GHC.Builtin.Names No documentation available.
-
ghc GHC.Builtin.Names No documentation available.
firstNode :: forall n (x :: Extensibility) . Block n C x -> n C Oghc GHC.Cmm.Dataflow.Block No documentation available.
-
ghc GHC.CmmToAsm.X86.Regs No documentation available.
-
ghc GHC.Core.DataCon Tags are allocated from here for real constructors or for superclass selectors
firstJust :: Maybe a -> Maybe a -> Maybe aghc GHC.Data.Maybe No documentation available.
firstJusts :: Foldable f => f (Maybe a) -> Maybe aghc GHC.Data.Maybe Takes a list of Maybes and returns the first Just if there is one, or Nothing otherwise.
firstJustsM :: (Monad m, Foldable f) => f (m (Maybe a)) -> m (Maybe a)ghc GHC.Data.Maybe Takes computations returnings Maybes; tries each one in order. The first one to return a Just wins. Returns Nothing if all computations return Nothing.
firstPat :: EquationInfoNE -> Pat GhcTcghc GHC.HsToCore.Utils No documentation available.