add pattern match for Line in FromDatum (Vector a)