diff options
Diffstat (limited to 'stdlib/getput.tl')
-rw-r--r-- | stdlib/getput.tl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/getput.tl b/stdlib/getput.tl index d9717593..e90f3b28 100644 --- a/stdlib/getput.tl +++ b/stdlib/getput.tl @@ -86,8 +86,8 @@ (with-stream (s (open-file name `a@mopt`)) (put-string string s))) -(defun file-get-lines (name) - (get-lines (open-file name))) +(defun file-get-lines (name : mopt) + (get-lines (open-file name `r@mopt`))) (defun file-put-lines (name lines : mopt) (with-stream (s (open-file name `w@mopt`)) |