let writeToFile name data => file.open name : f -> str.format '{}' data -> io.writeln f -- io.close f ;