Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

# Documentation

module Data.List

head :: HasCallStack => [a] -> a Source #

tail :: HasCallStack => [a] -> [a] Source #

last :: HasCallStack => [a] -> a Source #

init :: HasCallStack => [a] -> [a] Source #

foldr1 :: HasCallStack => (a -> a -> a) -> [a] -> a Source #

foldl1 :: HasCallStack => (a -> a -> a) -> [a] -> a Source #

foldl1' :: HasCallStack => (a -> a -> a) -> [a] -> a Source #

maximum :: (HasCallStack, Ord a) => [a] -> a Source #

minimum :: (HasCallStack, Ord a) => [a] -> a Source #

cycle :: HasCallStack => [a] -> [a] Source #

(!!) :: HasCallStack => [a] -> Int -> a Source #