
4 Oct
2021
4 Oct
'21
12:02 p.m.
On Mon, 4 Oct 2021, PICCA Frederic-Emmanuel wrote:
Hello, I need to parse a commande line which allows user to describe indices like this
1 -> only one indice 1-5 -> [1..5] 1-5 6-10 ...-> [1..5] ++ [6..10]
My question is what it the best type in order to store this information ?
Is it necessary to preserve the structure of separate ranges or would it be ok to just store [Int] or Set Int?