definition module parse from Data.Either import :: Either from ast import :: AST :: Token lex :: [Char] -> Either [String] [Token] parse :: ([Token] -> Either [String] AST)