-
Notifications
You must be signed in to change notification settings - Fork 24
AsciiStr and AsciiString APIs should be similar to str and String APIs #13
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
Comments
Is there any work in progress here or can I work on this? |
I did some work already and got stuck at the implementation of the custom iterators. I'm currently not at home and will push a new branch soon. |
What should be done with methods with "str" in the name? From |
The most methods returning an ascii string already use the I would like to follow this naming convention because it explicitly states whether the method works on ascii strings or UTF-8 strings. That means the existing Using the example I would call the methods What do you think about it? |
On a similar note, could we get |
Ideally the APIs should be the same, except the UTF-related bits (like str's
utf16_units
) and porting programs should be very easy. Currently lots of methods are missing in AsciiStr and AsciiString. (likestr.lines()
,str.bytes()
.str.parse()
...)The text was updated successfully, but these errors were encountered: