Fixed shift-reduce conflicts from haskell lists