-
Notifications
You must be signed in to change notification settings - Fork 82
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
Better string handling #102
Comments
Added a new unsafe-cast primitive that lets us write conversion functions in the library.
Cool... so how would I access the chars in a string in harlan? |
There's a function,
That should return the character 'h'. |
Cool.. will try that out when I get time.. I have twitter word analysis in mind.. but lets see how that can work.. :D |
Sounds like fun! I've been working on a PLY file loader lately which is forcing me to improve Harlan's string and IO facilities. Hopefully that will help you out too. |
Right now Harlan programs can't do much more with strings than pass them around. Even just adding facilities to convert between C strings and vectors of chars would greatly improve the ability of Harlan programs to manipulate strings.
The text was updated successfully, but these errors were encountered: