Now that arrays have been added, making them useful via array methods would be great.
First pass:
Second pass:
Under consideration (we basically need the concept of "slices"):
Up for debate:
Milestone: later.
i think all of these methods are reasonable. implementing these is 99% an organization task; it would be smarter to wait until a trait system is implemented. Then the methods can be added there (under something like [](infer Item)). I have not really thought about how the trait system will work, especially considering incremental.
stuff like sort should think about Array.prototype.sort and ensuring that the interface that it provides maps well. that doesn't mean the interface has to be the same.
stuff like sort should think about Array.prototype.sort and ensuring that the interface that it provides maps well. that doesn't mean the interface has to be the same.
Agreed, it should sort of map over. That being said, WL .sort should work on numerical arrays the way you expect