-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lack of easy way to append to text files. #45
Comments
Thanks for contributing! For completeness there should also be an appendString method that appends a string, similar to how saveLines also has a counterpart saveString. |
It's been a while, but I've made the requested changes to my PR, I think I've written something that is what you're looking for @bjornregnell . |
@trilleplay You may want to see the correct implementation here to handle both empty seq and trailing newline: 482dcce |
I have also added some tests: c80904a |
After reading though lunduniversity/introprog#782 I think that some of the issues associated with Bank's saving and loading could be addressed by introducing a method that lets the user easily append to text files (since it might feel natural to do so in doEvent.)
I propose that a method be added for appending lines.
The text was updated successfully, but these errors were encountered: