-- Takes a filename and CompilationUnit and returns Just an error message if invalid and Nothing if valid
weed :: String -> CompilationUnit -> WeedError
weed filename unit = weedTypeDec filename $ definition unit
weed :: String -> CompilationUnit -> WeedError
weed filename unit = weedTypeDec filename $ definition unit
weed filename unit = weedTypeDec filename $ definition unit