Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. manyT :: forall (m :: Type -> Type) e0 e1 a b . Monad m => (e0 -> Maybe e1) -> (a -> b -> b) -> b -> ExceptionalT e0 m a -> ExceptionalT e1 m b

    explicit-exception Control.Monad.Exception.Synchronous

    Repeat an action until an exception occurs. Initialize the result with empty and add new elements using cons (e.g. [] and (:)). The exception handler decides whether the terminating exception is re-raised (Just) or catched (Nothing).

  2. biany :: Bifoldable t => (a -> Bool) -> (b -> Bool) -> t a b -> Bool

    rio RIO.Prelude

    Determines whether any element of the structure satisfies its appropriate predicate argument. Empty structures yield False.

    Examples

    Basic usage:
    >>> biany even isDigit (27, 't')
    False
    
    >>> biany even isDigit (27, '8')
    True
    
    >>> biany even isDigit (26, 't')
    True
    
    >>> biany even isDigit (Left 27)
    False
    
    >>> biany even isDigit (Left 26)
    True
    
    >>> biany even isDigit (BiList [27, 53] ['t', '8'])
    True
    
    Empty structures yield False:
    >>> biany even isDigit (BiList [] [])
    False
    

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

    rio RIO.Prelude

    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. addGregorianYearsClip :: Integer -> Day -> Day

    rio RIO.Time

    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.

  5. addGregorianYearsRollOver :: Integer -> Day -> Day

    rio RIO.Time

    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.

  6. runAnyE :: AnyE e r -> Either e r

    errors Control.Error.Util

    No documentation available.

  7. waitForAnyKey :: forall (m :: Type -> Type) . (MonadIO m, MonadMask m) => String -> InputT m Bool

    haskeline System.Console.Haskeline

    Waits for one key to be pressed, then returns. Ignores the value of the specific key. Returns True if it successfully accepted one key. Returns False if it encountered the end of input; i.e., an EOF in file-style interaction, or a Ctrl-D in terminal-style interaction. When using file-style interaction, consumes a single character from the input which may be non-printable.

  8. SSL_OP_CISCO_ANYCONNECT :: SSLOption

    HsOpenSSL OpenSSL.Session

    No documentation available.

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

    time-compat Data.Time.Calendar.Compat

    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-compat Data.Time.Calendar.Compat

    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 129 of many | Previous | Next