// returns actual CNC static ItIt subtokenizationsOfAnyLength(LS tok) { int n = countTokens(tok); ret nestedIterator(countIterator_inclusive(1, n), length -> // how many tokens to get mapI(countIterator_inclusive(0, n-length), i -> // first token to get subList(tok, i*2, (i+length)*2+1))); }