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

Make a distinction between repr() and toString() #79

Open
kyonifer opened this issue Oct 23, 2018 · 0 comments
Open

Make a distinction between repr() and toString() #79

kyonifer opened this issue Oct 23, 2018 · 0 comments

Comments

@kyonifer
Copy link
Owner

In #78 it was proposed that we have two string representation methods for containers: toString() which presents a clear human-readable output like [1, 2, 3], and repr() which would produce a string containing a compileable code snippet that recreates the array, such as ndArrayOf(1, 2, 3). Something along these lines was also posed by @thomasnield, so I think it makes sense to go ahead and make two distinct string functions.

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

1 participant