Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
absz
6069 days ago |
link
|
parent
The best way to do this is
(sort (fn (a b) (< (tostring:write a) (tostring:write b))) (keys the-table))
;
write
will print the list, in that format, to stdout, and
tostring
captures stdout and puts it in a string, which it returns.
1 point
by
bOR_
6069 days ago |
link
works like a charm. thanks!
-----