I need to write a dictionary to a text file. I couldn't find anything handy. But writing an array is solved only for strings:
let pieces = [ "1", "5", "1", "4" ]
let joined = "\n".join(pieces)
How could I join integers without creating my own loop?
If there is a simple solution for dictionary itself, that would be better! ;-)