-
Notifications
You must be signed in to change notification settings - Fork 233
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
Immutable Array #16
Comments
I have an immutable array going over here, and was planning on doing an immutable Dict plus other structures as well. Would you want these included in this Repo, or keep a separate one for just Data structures such as Array, Dict, Set etc? |
I would love to have them in this project. Immutable data types are a core need for functional programming. The benefit of doing so, is any operators or protocols we implement on them (map, leftmap, rightmap, etc.) will always be on the same version and compatible with the data types. |
Now that Swift's arrays have full value semantics, can't we just provide those functions as extensions on them? |
@pthariensflame That is what I was thinking myself. |
An array (with array syntax) with the same functions as
Array
, except all the functions return new arrays.The text was updated successfully, but these errors were encountered: