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.
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.addGregorianYearsClip :: Integer -> Day -> Dayrio 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.
addGregorianYearsRollOver :: Integer -> Day -> Dayrio 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.
runAnyE :: AnyE e r -> Either e rerrors Control.Error.Util No documentation available.
waitForAnyKey :: forall (m :: Type -> Type) . (MonadIO m, MonadMask m) => String -> InputT m Boolhaskeline 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.
SSL_OP_CISCO_ANYCONNECT :: SSLOptionHsOpenSSL OpenSSL.Session No documentation available.
addGregorianYearsClip :: Integer -> Day -> Daytime-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.
addGregorianYearsRollOver :: Integer -> Day -> Daytime-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.
pattern
JulianYearMonthDay :: Year -> MonthOfYear -> DayOfMonth -> Daytime-compat Data.Time.Calendar.Julian.Compat Bidirectional abstract constructor for the proleptic Julian calendar. Invalid values will be clipped to the correct range, month first, then day.
addJulianYearsClip :: Integer -> Day -> Daytime-compat Data.Time.Calendar.Julian.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.