-
Notifications
You must be signed in to change notification settings - Fork 116
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
std/misc/string: str #543
std/misc/string: str #543
Conversation
acbb347
to
1c0b2a5
Compare
6088847
to
b493b70
Compare
What are the proposed use cases, compared to My proposed use cases are for constructing identifiers, etc., in which case I basically want to throw away all the structure, and concatenate the strings, symbols and numbers, without spaces.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@fare |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good to merge imo.
When I started this PR in never thought it would take sooo long. |
One of those things :) |
Frankly, this thing is enough of its own thing that I would move it out of std/misc/string into its own module. |
@fare What would be the benefit to move it out of misc/string? As user I would have to type more (one more import) and as its own module I don't see much growth potentials, what else could be @vyzo Would it be a good idea to check if all values are strings and just call |
Maybe, but how often do we pass a bunch of strings? We can |
@vyzo If someone just wants to get the job done he can go with |
ok, let's make it more efficient then. |
ok, I am going to merge it. |
Handy Clojure like procedure that converts a single thing into a string or appends multiple string into one.
I tried to get the output as human friendly as possible by e.g. converting numbers from
2.
to2.0
.