Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- cons :: a -> [a] -> [a]
- append :: [a] -> [a] -> [a]
- splitAt :: Int -> [a] -> Pair [a] [a]
- span :: (a -> Bool) -> [a] -> Pair [a] [a]
- afterEach :: a -> [a] -> [a]
- dropWhileRev :: (a -> Bool) -> [a] -> [a]
- sumInteger :: Integral a => [a] -> a
- productInteger :: Integral a => [a] -> a
- iterateInteger :: (Integer -> Integer) -> Integer -> [Integer]
- iterateIntegerList :: ([Integer] -> [Integer]) -> [Integer] -> [[Integer]]
- applyStrictList :: ([Integer] -> a) -> [Integer] -> a
- applyStrictListList :: ([[Integer]] -> a) -> [[Integer]] -> a
Documentation
dropWhileRev :: (a -> Bool) -> [a] -> [a] Source #
sumInteger :: Integral a => [a] -> a Source #
constant space usage in contrast to sum
productInteger :: Integral a => [a] -> a Source #
iterateInteger :: (Integer -> Integer) -> Integer -> [Integer] Source #
constant space usage in contrast to iterate
applyStrictList :: ([Integer] -> a) -> [Integer] -> a Source #
applyStrictListList :: ([[Integer]] -> a) -> [[Integer]] -> a Source #