I made a package here:
https://github.com/CTMacUser/EmbeddedIntegerCollection.git
I'm wondering two things:
- For the
MutableCollection
support, I wrote my own read-write single-element subscript operator. I just let the library's code synthesize the multi-element version. Since the type doesn't use heap storage, I have no idea if that actually works. (Remember, it's not justSlice
s, but slices of slices that need to work too.) And no idea how to fix it if it doesn't work. - How do I "finalize" the package's description so other people can use the package? Potential clients include another package I'm writing now. (I wrote that one's initial code first, then realize I could generalize it, and so moved that core code to this package.)