Mercerenies / tfactor

0 stars 0 forks source link

Arrays #5

Open Mercerenies opened 4 years ago

Mercerenies commented 4 years ago

We still don't have arrays. I expect we'll have two different types: arrays and lists. Lists are more functional and easier to write recursive algorithms around, whereas arrays will either have to be copied on modification or hidden inside some sort of ST-like construct (that idea needs a lot more workshopping if we go with it). Either way, we can at least have immutable variants of the two right now.

Obviously, depends on #1, since arrays and lists would both be parameterized types/modules.