change grammars for List Double and Int