-
Notifications
You must be signed in to change notification settings - Fork 175
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
Useful functions missing in the String module? #94
Comments
I have a list of useful functions (this is a verbatim copy of what’s present in zepto):
There are more useful functions, but that’s a whole lot and a good start, I’d say. Cheers |
Great, yes this looks like a very decent start indeed. |
Maybe s.el (the long lost Emacs string manipulation library) can be used as inspiration? |
Looks good! It also reminds me that we still have to wrap a regex library! |
|
Those are already provided as |
Should have looked at the source |
Don’t worry! We have to document the standard modules sooner or later, to make it a bit easier for people to know what’s there. |
I feel like this is OK to close now? |
I haven’t ported everything from the long lost Emacs string library yet, nor do I intend to. SOme of the functions do not need to b included in the standard library, in my opinion. That being said, I do think that a handful of functions from the library should be included, like |
OK, let us leave it open until then, then :) |
Working on issue carp-lang#94
I am going to do a little work on the Strings module, adding documentation, and adding some new functions which I think are important. I will send a PR once I have a few commits ready. |
Adding memory leak tests to String.append and StringCopy.append Issue carp-lang#94
…locations and string copies Issue carp-lang#94
I guess the String module will never be completely done, so perhaps we can close this now? Or are there still some functions that we really need? If so – let's enumerate them so we know what to shoot for. |
@eriksvedang good point, I'm pretty happy with the current shape of String for now, I don't see anything huge missing, happy for this to be closed. |
The String module is probably lacking a lot of useful functions commonly found in other standard libraries. Let's add them!
The text was updated successfully, but these errors were encountered: