D10.Predicate
Description
Functions to test whether values of various types represent digits in the range 0 to 9.
isD10Char :: Char -> Bool Source #
Determines whether a Char is in the range '0' to '9'.
Char
'0'
'9'
isD10Str :: String -> Bool Source #
Determines whether a String consists of a single character and that character is within the range '0' to '9'.
String
isD10ListStr :: String -> Bool Source #
Determines whether a String consists entirely of characters that are within the range '0' to '9'.
isD10Nat :: Natural -> Bool Source #
Determines whether a Natural is in the range 0 to 9.
Natural
isD10Integer :: Integer -> Bool Source #
Determines whether an Integer is in the range 0 to 9.
Integer
isD10Int :: Int -> Bool Source #
Determines whether an Int is in the range 0 to 9.
Int
isD10Integral :: Integral a => a -> Bool Source #
Determines whether a number whose type has an Integral instance is in the range 0 to 9.
Integral