Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. Many :: Multiplicity

    base GHC.Base

    No documentation available.

  2. compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)

    base GHC.Base

    Returns 1# if the object is in any CNF at all, 0# otherwise.

  3. many :: Alternative f => f a -> f [a]

    base GHC.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.

  4. Many :: Multiplicity

    base GHC.Exts

    No documentation available.

  5. compactContainsAny# :: a -> State# RealWorld -> (# State# RealWorld, Int# #)

    base GHC.Exts

    Returns 1# if the object is in any CNF at all, 0# otherwise.

  6. catchAny :: IO a -> (forall e . Exception e => e -> IO a) -> IO a

    base GHC.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.

  7. chooseAny :: Random a => Gen a

    QuickCheck Test.QuickCheck

    Generates a random element over the natural range of a.

  8. chooseAny :: Random a => Gen a

    QuickCheck Test.QuickCheck.Gen

    Generates a random element over the natural range of a.

  9. addGregorianYearsClip :: Integer -> Day -> Day

    time Data.Time.Calendar

    Add years, matching month and day, with Feb 29th clipped to Feb 28th if necessary. For instance, 2004-02-29 + 2 years = 2006-02-28.

  10. addGregorianYearsRollOver :: Integer -> Day -> Day

    time Data.Time.Calendar

    Add years, matching month and day, with Feb 29th rolled over to Mar 1st if necessary. For instance, 2004-02-29 + 2 years = 2006-03-01.

Page 94 of many | Previous | Next