Need write_file and write_lines #302
Closed
Labels
Comments
Could these return the path to the file they just wrote? But I also see that would be inconsistent with |
@jennybc I'm pretty confident now that the general principle is that if a function is called primarily for its side-effects, then it should invisibly return it's first argument. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To do reverse of
read_file()
andread_lines()
(should always write as utf-8)The text was updated successfully, but these errors were encountered: