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.
_schemaAnyOf :: Schema -> Maybe [Referenced Schema]openapi3 Data.OpenApi.Internal No documentation available.
-
openapi3 Data.OpenApi.Lens No documentation available.
many :: Alternative f => f a -> f [a]protolude Protolude 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.waitAny :: [Async a] -> IO (Async a, a)protolude Protolude Wait for any of the supplied Asyncs to complete. If the first to complete throws an exception, then that exception is re-thrown by waitAny. The input list must be non-empty. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.
waitAnyCancel :: [Async a] -> IO (Async a, a)protolude Protolude Like waitAny, but also cancels the other asynchronous operations as soon as one has completed.
waitAnyCatch :: [Async a] -> IO (Async a, Either SomeException a)protolude Protolude Wait for any of the supplied asynchronous operations to complete. The value returned is a pair of the Async that completed, and the result that would be returned by wait on that Async. The input list must be non-empty. If multiple Asyncs complete or have completed, then the value returned corresponds to the first completed Async in the list.
waitAnyCatchCancel :: [Async a] -> IO (Async a, Either SomeException a)protolude Protolude Like waitAnyCatch, but also cancels the other asynchronous operations as soon as one has completed.
doesNotUseAnyOf :: Name -> [Name] -> Obligationtasty-inspection-testing Test.Tasty.Inspection Declare that given entities do not occur in a function’s implementation.
DAnyclassStrategy :: DDerivStrategyth-desugar Language.Haskell.TH.Desugar -XDeriveAnyClass
expectAny :: (Foldable f, MonadBaseControl IO m, HasCallStack) => (a -> m Bool) -> f a -> m ()webdriver Test.WebDriver.Commands.Wait Apply a monadic predicate to every element in a list, and expect that at least one succeeds.