L02
add :: (Int, Int) -> Int Source #
add' :: Int -> Int -> Int Source #
suc :: Int -> Int Source #
myReplicate :: (Num t, Ord t) => t -> a -> [a] Source #
range :: (Num a, Ord a) => a -> a -> [a] Source #
mySum :: Num p => [p] -> p Source #
prod :: Num p => [p] -> p Source #
head :: [a] -> a Source #
tail :: [a] -> [a] Source #
twice :: (t -> t) -> t -> t Source #
map :: (a -> b) -> [a] -> [b] Source #
filter :: (a -> Bool) -> [a] -> [a] Source #
foldr :: (a -> b -> b) -> b -> [a] -> b Source #
sum :: [Integer] -> Integer Source #
product :: [Integer] -> Integer Source #
length :: [b] -> Integer Source #