Citrine/US | Manual

[ File ] list: [ String ].

Program shell: 'mkdir /tmp/files'.
Program shell: 'touch /tmp/files/a.txt'.
Program shell: 'touch /tmp/files/b.txt'.
☞ x := File list: '/tmp/files'.
✎ write: x, stop.
List ← ((Map new) put:'file' at:'type', put:'a.txt' at:'file') ; ((Map new) put:'folder' at:'type', put:'..' at:'file') ; ((Map new) put:'file' at:'type', put:'b.txt' at:'file') ; ((Map new) put:'folder' at:'type', put:'.' at:'file')