Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,9 +1,8 @@
|
|||
val choose = fn*(entries) {
|
||||
if entries is not list: throw "invalid args"
|
||||
val choose = fn*(entries list) {
|
||||
if not entries: return ""
|
||||
|
||||
# print the menu
|
||||
writeln join(map(entries, 1..len(entries), by=fn e, i:"{{i:2}}: {{e}}"), by="\n")
|
||||
writeln join(map(entries, 1..len(entries), by=fn e, i:"{{i:2}}: {{e}}"), delim="\n")
|
||||
|
||||
val idx = read(
|
||||
prompt="Select entry #: ",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue