Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
dropWhileNotEq :: Char -> Bytes -> Bytesbyteslice Data.Bytes.Text.AsciiExt Throws an exception the Char argument is non-ascii.
takeWhileEndNotEq :: Char -> Bytes -> Bytesbyteslice Data.Bytes.Text.AsciiExt Throws an exception the Char argument is non-ascii.
takeWhileNotEq :: Char -> Bytes -> Bytesbyteslice Data.Bytes.Text.AsciiExt Throws an exception the Char argument is non-ascii.
-
ghc-internal GHC.Internal.Foreign.C.Error No documentation available.
doesNotExistErrorType :: IOErrorTypeghc-internal GHC.Internal.System.IO.Error I/O error where the operation failed because one of its arguments does not exist.
isDoesNotExistError :: IOError -> Boolghc-internal GHC.Internal.System.IO.Error An error indicating that an IO operation failed because one of its arguments does not exist.
isDoesNotExistErrorType :: IOErrorType -> Boolghc-internal GHC.Internal.System.IO.Error I/O error where the operation failed because one of its arguments does not exist.
isNotEmpty :: (Index ix, Size r) => Array r ix e -> Boolmassiv Data.Massiv.Array O(1) - Check if array has elements.
Examples
>>> import Data.Massiv.Array >>> isNotEmpty (singleton 1 :: Array D Ix2 Int) True >>> isNotEmpty (empty :: Array D Ix2 Int) False
exec_notempty :: PCREExecOptionpcre-light Text.Regex.PCRE.Light PCRE_NOTEMPTY An empty string is not considered to be a valid match if this option is set. If there are alternatives in the pattern, they are tried. If all the alternatives match the empty string, the entire match fails. For example, if the pattern
a?b?
is applied to a string not beginning with a or b, it matches the empty string at the start of the subject. With notempty set, this match is not valid, so 'PCRE searches further into the string for occurrences of a or b. Perl has no direct equivalent of notempty, but it does make a special case of a pattern match of the empty string within its split() function, and when using the /g modifier. It is possible to emulate Perl's behaviour after matching a null string by first trying the match again at the same offset with PCRE_NOTEMPTY and PCRE_ANCHORED, and then if that fails by advancing the starting offset (see below) and trying an ordinary match again. There is some code that demonstrates how to do this in the pcredemo.c sample program.-
pcre-light Text.Regex.PCRE.Light noteol This option specifies that the end of the subject string is not the end of a line, so the dollar metacharacter should not match it nor (except in multiline mode) a newline immediately before it. Setting this without multiline (at compile time) causes dollar never to match. This option affects only the behaviour of the dollar metacharacter. It does not affect \Z or \z.