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.
-
ghc-internal GHC.Internal.Base No documentation available.
compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)ghc-internal GHC.Internal.Base Returns 1# if the object is in any CNF at all, 0# otherwise.
many :: Alternative f => f a -> f [a]ghc-internal GHC.Internal.Base Zero or more.
Examples
>>> many (putStr "la") lalalalalalalalala... * goes on forever *
>>> many Nothing Just []
>>> take 5 <$> many (Just 1) * hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.-
ghc-internal GHC.Internal.Data.Monoid No documentation available.
-
ghc-internal GHC.Internal.Data.Semigroup.Internal No documentation available.
-
ghc-internal GHC.Internal.Exts No documentation available.
compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)ghc-internal GHC.Internal.Exts Returns 1# if the object is in any CNF at all, 0# otherwise.
-
ghc-internal GHC.Internal.Foreign.C.Error No documentation available.
withMany :: (a -> (b -> res) -> res) -> [a] -> ([b] -> res) -> resghc-internal GHC.Internal.Foreign.Marshal.Utils Replicates a withXXX combinator over a list of objects, yielding a list of marshalled objects
catchAny :: IO a -> (forall e . Exception e => e -> IO a) -> IO aghc-internal GHC.Internal.IO Catch any Exception type in the IO monad. Note that this function is strict in the action. That is, catchAny undefined b == _|_. See for details.