Prime -> 2010
[haskell-report.git] / report / lib-hdrs / List1.hs
1 intersect :: Eq a => [a] -> [a] -> [a]
2 intersectBy :: (a -> a -> Bool) -> [a] -> [a] -> [a]
3 intersperse :: a -> [a] -> [a]
4 transpose :: [[a]] -> [[a]]
5 partition :: (a -> Bool) -> [a] -> ([a],[a])
6 group :: Eq a => [a] -> [[a]]
7 groupBy :: (a -> a -> Bool) -> [a] -> [[a]]
8 inits :: [a] -> [[a]]
9 tails :: [a] -> [[a]]
10 isPrefixOf :: Eq a => [a] -> [a] -> Bool
11 isSuffixOf :: Eq a => [a] -> [a] -> Bool
12 mapAccumL :: (a -> b -> (a, c)) -> a -> [b] -> (a, [c])
13 mapAccumR :: (a -> b -> (a, c)) -> a -> [b] -> (a, [c])
14 unfoldr :: (b -> Maybe (a,b)) -> b -> [a]
15 sort :: Ord a => [a] -> [a]
16 sortBy :: (a -> a -> Ordering) -> [a] -> [a]
17 insert :: Ord a => a -> [a] -> [a]
18 insertBy :: (a -> a -> Ordering) -> a -> [a] -> [a]
19 maximumBy :: (a -> a -> Ordering) -> [a] -> a
20 minimumBy :: (a -> a -> Ordering) -> [a] -> a
21 genericLength :: Integral a => [b] -> a
22 genericTake :: Integral a => a -> [b] -> [b]
23 genericDrop :: Integral a => a -> [b] -> [b]
24 genericSplitAt :: Integral a => a -> [b] -> ([b],[b])
25 genericIndex :: Integral a => [b] -> a -> b
26 genericReplicate :: Integral a => a -> b -> [b]
27
28 zip4 :: [a] -> [b] -> [c] -> [d] -> [(a,b,c,d)]
29 zip5 :: [a] -> [b] -> [c] -> [d] -> [e] -> [(a,b,c,d,e)]
30 zip6 :: [a] -> [b] -> [c] -> [d] -> [e] -> [f]
31 -> [(a,b,c,d,e,f)]
32 zip7 :: [a] -> [b] -> [c] -> [d] -> [e] -> [f] -> [g]
33 -> [(a,b,c,d,e,f,g)]
34 zipWith4 :: (a->b->c->d->e) -> [a]->[b]->[c]->[d]->[e]
35 zipWith5 :: (a->b->c->d->e->f) ->
36 [a]->[b]->[c]->[d]->[e]->[f]
37 zipWith6 :: (a->b->c->d->e->f->g) ->
38 [a]->[b]->[c]->[d]->[e]->[f]->[g]
39 zipWith7 :: (a->b->c->d->e->f->g->h) ->
40 [a]->[b]->[c]->[d]->[e]->[f]->[g]->[h]
41 unzip4 :: [(a,b,c,d)] -> ([a],[b],[c],[d])
42 unzip5 :: [(a,b,c,d,e)] -> ([a],[b],[c],[d],[e])
43 unzip6 :: [(a,b,c,d,e,f)] -> ([a],[b],[c],[d],[e],[f])
44 unzip7 :: [(a,b,c,d,e,f,g)] -> ([a],[b],[c],[d],[e],[f],[g])