hylo-lang / hylo-lang/proto-stdlib
What's the API to construct an array of unsinkable elements
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure what the array constructor should look like.
A constructor for `A` has a signature `(T1, ..., Tn) -> A`, suggesting that `A` is sinkable (otherwise it could not be returned). What's a good pattern to initialize unsinkable things in an array?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the issue's discussion of array constructors, the signature `(T1, ..., Tn) -> A`, and the distinction between sinkable and unsinkable values. No source files, tests, or entry points are named, so first locate the array API and ownership or sinkability rules in the prototype. Done means agreeing on and documenting an API pattern for initializing arrays of unsinkable elements.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100