how to create a list from 0 to 10 in hasell code example
Example: get tail of list haskell
list = [1, 2, 3, 4]
tail :: [a] -> [a]
tail [] = []
tail (_:xs) = xs
list = [1, 2, 3, 4]
tail :: [a] -> [a]
tail [] = []
tail (_:xs) = xs