Document : add `getLines` with doc and test

+ `_list` utility function