-- Flatten a list
-- http://www.haskell.org/haskellwiki/99_questions/Solutions/7
-- http://stackoverflow.com/questions/5994051/is-there-a-function-to-flatten-a-nested-list-of-elements
-- http://alumni.media.mit.edu/~tpminka/PLE/haskell/haskell-sol.html

module Problem07 where
  flatten :: [a] -> [b]
  flatten []  = []
  --flatten [x] = x

  --flatten (h:t) = flatten h  ++ flatten t 
