Skip to content
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

Add save-list #131

Open
Kinnardian opened this issue Nov 23, 2018 · 2 comments
Open

Add save-list #131

Kinnardian opened this issue Nov 23, 2018 · 2 comments

Comments

@Kinnardian
Copy link
Contributor

There was a discussion about the best way to accomplish adding save-list with multiple opinions on the arc-lang forum:
http://arclanguage.org/item?id=20834
I thought this was a better place to have a conversation about it.
Original Issue:
Why isn't there a "save-list" function analogous to "save-table"?

@Kinnardian
Copy link
Contributor Author

#133

@rocketnia
Copy link
Member

As I was saying in the thread, I think a good way to go about this is to have Anarki's read do a recursive pass over the Racket read result to convert the immutable hash tables to mutable ones. Then all the code that currently uses save-table can be refactored over time so it uses writefile instead, and save-table can be deleted.

If we want to avoid breaking some Arc users' existing apps, then migrating to writefile could be a bit tricky since it involves changing the file format of the data. File format versioning and migration scripts would be possible ways to help those users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants