-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Description
Follow-up from #477
In array, ref, bytes, and other collections:
- Rename
unsafeFreshtoallocateand clearly document that it is unsafe- perhaps we should decide if we want to have
collection::unsafeFunctionorcollection::unsafe::functionin general for functions acting on the collections that are generally unsafe
- perhaps we should decide if we want to have
- Rename
fresh(formerlyfill) to$collection_nameor$Collection_name, for examplearrayorArray- we also discussed using
newinstead, but that's: a) ambiguous (as now we need thearray::qualifier to determine that it's a new array, otherwise the overload could be ambiguous), and b) clashes with the existingnewkeyword
- we also discussed using