Char -> Int

digitToInt :: Char -> Int
base Data.Char
Convert a single digit Char to the corresponding Int. This function fails unless its argument satisfies isHexDigit, but recognises both upper and lower-case hexadecimal digits (i.e. '0'..'9', 'a'..'f', 'A'..'F').
ord :: Char -> Int
base Data.Char
The Prelude.fromEnum method restricted to the type Data.Char.Char.
Char :: Char -> Key
GLUT Graphics.UI.GLUT.Callbacks.Window
count :: Char -> ByteString -> Int
bytestring Data.ByteString.Char8
count returns the number of times its argument appears in the ByteString > count = length . elemIndices Also > count '\n' == length . lines But more efficiently than using length on the intermediate list.
alignment :: Storable a => a -> Int
base Foreign.Storable
sizeOf :: Storable a => a -> Int
base Foreign.Storable
gsize :: Data a => a -> Int
syb Data.Generics.Schemes
Compute size of an arbitrary data structure
gdepth :: GenericQ Int
syb Data.Generics.Schemes
Determine depth of the given term
glength :: GenericQ Int
syb Data.Generics.Schemes
Count the number of immediate subterms of the given term
gnodecount :: GenericQ Int
syb Data.Generics.Schemes
Determine the number of all nodes in a given term
Label :: String -> Node
HUnit Test.HUnit.Base
elemIndex :: Char -> ByteString -> Maybe Int
bytestring Data.ByteString.Char8
O(n) The elemIndex function returns the index of the first element in the given ByteString which is equal (by memchr) to the query element, or Nothing if there is no such element.
elemIndexEnd :: Char -> ByteString -> Maybe Int
bytestring Data.ByteString.Char8
O(n) The elemIndexEnd function returns the last index of the element in the given ByteString which is equal to the query element, or Nothing if there is no such element. The following holds: > elemIndexEnd c xs == > (-) (length xs - 1) `fmap` elemIndex c (reverse xs)
elemIndices :: Char -> ByteString -> [Int]
bytestring Data.ByteString.Char8
O(n) The elemIndices function extends elemIndex, by returning the indices of all elements equal to the query element, in ascending order.
unsafeCoerce :: a -> b
base Unsafe.Coerce
exponent :: RealFloat a => a -> Int
base Prelude
floatDigits :: RealFloat a => a -> Int
base Prelude
fromEnum :: Enum a => a -> Int
base Prelude
bitSize :: Bits a => a -> Int
base Data.Bits
throwDyn :: Typeable exception => exception -> b
base Control.OldException
Raise any value as an exception, provided it is in the Typeable class.

Show more results