Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
parameterized-utils Data.Parameterized.TraversableFC Return True if any values satisfy predicate.
anyPerms :: FileMode -> FindClause Boolfilemanip System.FilePath.Find Return True if any of the given permission bits is set. Example:
anyPerms 0444
anyAsciiChar :: forall (st :: ZeroBitType) e . ParserT st e Charflatparse FlatParse.Basic Parse any single ASCII character (a single byte) as a Char. More efficient than anyChar for ASCII-only input.
anyAsciiDecimalInt :: forall (st :: ZeroBitType) e . ParserT st e Intflatparse FlatParse.Basic Parse a non-empty ASCII decimal digit sequence as a positive Int. Fails on overflow.
anyAsciiDecimalInteger :: forall (st :: ZeroBitType) e . ParserT st e Integerflatparse FlatParse.Basic Parse a non-empty ASCII decimal digit sequence as a positive Integer.
anyAsciiDecimalWord :: forall (st :: ZeroBitType) e . ParserT st e Wordflatparse FlatParse.Basic Parse a non-empty ASCII decimal digit sequence as a Word. Fails on overflow.
anyAsciiHexInt :: forall (st :: ZeroBitType) e . ParserT st e Intflatparse FlatParse.Basic Parse a non-empty, case-insensitive ASCII hexadecimal digit sequence as a positive Int. Fails on overflow.
anyAsciiHexWord :: forall (st :: ZeroBitType) e . ParserT st e Wordflatparse FlatParse.Basic Parse a non-empty, case-insensitive ASCII hexadecimal digit sequence as a Word. Fails on overflow.
anyCString :: forall (st :: ZeroBitType) e . ParserT st e ByteStringflatparse FlatParse.Basic Read a null-terminated bytestring (a C-style string). Consumes the null terminator.
anyCStringUnsafe :: forall (st :: ZeroBitType) e . ParserT st e ByteStringflatparse FlatParse.Basic Read a null-terminated bytestring (a C-style string), where the bytestring is known to be null-terminated somewhere in the input. Highly unsafe. Unless you have a guarantee that the string will be null terminated before the input ends, use anyCString instead. Honestly, I'm not sure if this is a good function to define. But here it is. Fails on GHC versions older than 9.0, since we make use of the cstringLength# primop introduced in GHC 9.0, and we aren't very useful without it. Consumes the null terminator.