parse type constructor with parameters