Safe HaskellSafe

L02

Documentation

add :: (Int, Int) -> Int Source #

add' :: Int -> 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 #