English
Appearance
(泛型 (甲) (-> 文本型 (-> 文件型 甲) 甲))
打开文件用于写入,将文件句柄传给函数,完成后自动关闭文件。
(使用输出文件 "out.txt" (函 (文件) (文件写 文件 "hello")))