IndexedSeq[Literal] is a better choice so we can use Vector, which is safer than Array.