Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
all :: (PosixChar -> Bool) -> PosixString -> Boolos-string System.OsString.Posix O(n) Applied to a predicate and a OsString, all determines if all elements of the OsString satisfy the predicate.
all :: (WindowsChar -> Bool) -> WindowsString -> Boolos-string System.OsString.Windows O(n) Applied to a predicate and a OsString, all determines if all elements of the OsString satisfy the predicate.
all :: Foldable t => (a -> Bool) -> t a -> Boolrelude Relude.Foldable.Reexport Determines whether all elements of the structure satisfy the predicate.
Examples
Basic usage:>>> all (> 3) [] True
>>> all (> 3) [1,2] False
>>> all (> 3) [1,2,3,4,5] False
>>> all (> 3) [1..] False
>>> all (> 3) [4..] * Hangs forever *
all :: Monad m => (a -> Bool) -> Stream (Of a) m r -> m (Of Bool r)streaming Streaming.Prelude No documentation available.
all :: (Char -> Bool) -> YiString -> Boolyi-rope Yi.Rope YiString specialised all. See the implementation note for any.
all :: PrimType ty => (ty -> Bool) -> Block ty -> Boolbasement Basement.Block No documentation available.
all :: (ty -> Bool) -> Array ty -> Boolbasement Basement.BoxedArray No documentation available.
all :: forall ty (n :: Nat) . PrimType ty => (ty -> Bool) -> BlockN n ty -> Boolbasement Basement.Sized.Block No documentation available.
all :: forall ty (n :: Nat) . PrimType ty => (ty -> Bool) -> UVect n ty -> Boolbasement Basement.Sized.UVect No documentation available.
all :: forall ty (n :: Nat) . (ty -> Bool) -> Vect n ty -> Boolbasement Basement.Sized.Vect No documentation available.