|
GHC.List | Portability | non-portable (GHC Extensions) | Stability | internal | Maintainer | cvs-ghc@haskell.org |
|
|
|
|
|
Description |
The List data type and its operations
|
|
|
|
map :: (a -> b) -> [a] -> [b] |
|
(++) :: [a] -> [a] -> [a] |
|
filter :: (a -> Bool) -> [a] -> [a] |
|
concat :: [[a]] -> [a] |
|
head :: [a] -> a |
|
last :: [a] -> a |
|
tail :: [a] -> [a] |
|
init :: [a] -> [a] |
|
null :: [a] -> Bool |
|
length :: [a] -> Int |
|
(!!) :: [a] -> Int -> a |
|
foldl :: (a -> b -> a) -> a -> [b] -> a |
|
foldl1 :: (a -> a -> a) -> [a] -> a |
|
scanl :: (a -> b -> a) -> a -> [b] -> [a] |
|
scanl1 :: (a -> a -> a) -> [a] -> [a] |
|
foldr :: (a -> b -> b) -> b -> [a] -> b |
|
foldr1 :: (a -> a -> a) -> [a] -> a |
|
scanr :: (a -> b -> b) -> b -> [a] -> [b] |
|
scanr1 :: (a -> a -> a) -> [a] -> [a] |
|
iterate :: (a -> a) -> a -> [a] |
|
repeat :: a -> [a] |
|
replicate :: Int -> a -> [a] |
|
cycle :: [a] -> [a] |
|
take :: Int -> [b] -> [b] |
|
drop :: Int -> [b] -> [b] |
|
splitAt :: Int -> [b] -> ([b], [b]) |
|
takeWhile :: (a -> Bool) -> [a] -> [a] |
|
dropWhile :: (a -> Bool) -> [a] -> [a] |
|
span :: (a -> Bool) -> [a] -> ([a], [a]) |
|
break :: (a -> Bool) -> [a] -> ([a], [a]) |
|
reverse :: [a] -> [a] |
|
and :: [Bool] -> Bool |
|
or :: [Bool] -> Bool |
|
any :: (a -> Bool) -> [a] -> Bool |
|
all :: (a -> Bool) -> [a] -> Bool |
|
elem :: (Eq a) => a -> [a] -> Bool |
|
notElem :: (Eq a) => a -> [a] -> Bool |
|
lookup :: (Eq a) => a -> [(a, b)] -> Maybe b |
|
maximum :: (Ord a) => [a] -> a |
|
minimum :: (Ord a) => [a] -> a |
|
concatMap :: (a -> [b]) -> [a] -> [b] |
|
zip :: [a] -> [b] -> [(a, b)] |
|
zip3 :: [a] -> [b] -> [c] -> [(a, b, c)] |
|
zipWith :: (a -> b -> c) -> [a] -> [b] -> [c] |
|
zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d] |
|
unzip :: [(a, b)] -> ([a], [b]) |
|
unzip3 :: [(a, b, c)] -> ([a], [b], [c]) |
|
takeUInt_append :: Int# -> [b] -> [b] -> [b] |
|
Produced by Haddock version 0.4 |