[a] -> Bool

null :: [a] -> Bool
base Prelude, base Data.List
Test whether a list is empty.
all :: (a -> Bool) -> [a] -> Bool
base Prelude, base Data.List
Applied to a predicate and a list, all determines if all elements of the list satisfy the predicate. For the result to be True, the list must be finite; False, however, results from a False value for the predicate applied to an element at a finite index of a finite or infinite list.
any :: (a -> Bool) -> [a] -> Bool
base Prelude, base Data.List
Applied to a predicate and a list, any determines if any element of the list satisfies the predicate. For the result to be False, the list must be finite; True, however, results from a True value for the predicate applied to an element at a finite index of a finite or infinite list.
head :: [a] -> a
base Prelude, base Data.List
Extract the first element of a list, which must be non-empty.
last :: [a] -> a
base Prelude, base Data.List
Extract the last element of a list, which must be finite and non-empty.
and :: [Bool] -> Bool
base Prelude, base Data.List
and returns the conjunction of a Boolean list. For the result to be True, the list must be finite; False, however, results from a False value at a finite index of a finite or infinite list.
or :: [Bool] -> Bool
base Prelude, base Data.List
or returns the disjunction of a Boolean list. For the result to be False, the list must be finite; True, however, results from a True value at a finite index of a finite or infinite list.
findConnClose :: [Header] -> Bool
HTTP Network.HTTP.Base
isAbsoluteURI :: String -> Bool
network Network.URI
Test if string contains a valid absolute URI (an absolute URI without a fragment identifier).
isIPv4address :: String -> Bool
network Network.URI
Test if string contains a valid IPv4 address
isIPv6address :: String -> Bool
network Network.URI
Test if string contains a valid IPv6 address
isOneLine :: String -> Bool
QuickCheck Test.QuickCheck.Text
isRelativeReference :: String -> Bool
network Network.URI
Test if string contains a valid relative URI (a relative URI with optional fragment identifier).
isURI :: String -> Bool
network Network.URI
Test if string contains a valid URI (an absolute URI with optional fragment identifier).
isURIReference :: String -> Bool
network Network.URI
Test if string contains a valid URI reference (an absolute or relative URI with optional fragment identifier).
hasDrive :: FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Does a path have a drive. > not (hasDrive x) == null (takeDrive x)
hasExtension :: FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Does the given filename have an extension? > null (takeExtension x) == not (hasExtension x)
hasTrailingPathSeparator :: FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Is an item either a directory or the last character a path separator? > hasTrailingPathSeparator "test" == False > hasTrailingPathSeparator "test/" == True
isAbsolute :: FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
> not . isRelative > isAbsolute x == not (isRelative x)
isDrive :: FilePath -> Bool
filepath System.FilePath.Windows, filepath System.FilePath.Posix
Is an element a drive

Show more results