static L numberParagraphs(L paragraphs) { new L l; for i over paragraphs: l.add(new Para(i+1, paragraphs.get(i))); ret l; }