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

can't we have a to_string in many modules #818

Open
UnixJunkie opened this issue Dec 18, 2017 · 3 comments
Open

can't we have a to_string in many modules #818

UnixJunkie opened this issue Dec 18, 2017 · 3 comments

Comments

@UnixJunkie
Copy link
Member

List.to_string, Array.to_string, Set.to_string.

BatList.print uses IO, I would prefer not to use this.

The implementation I have in mind would rely on the Buffer module.

The goal I have in mind is to print things in a human-readable form on disk.
Of course, the representation must be parseable back to the original data structure.

@UnixJunkie
Copy link
Member Author

time to revive the to_seq proposal from @c-cube ?
Then just have a Seq.to_string ?

@UnixJunkie
Copy link
Member Author

And hope there is a Seq.of_string also.

@UnixJunkie
Copy link
Member Author

related to #819

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

No branches or pull requests

1 participant