Keep a bitmask of what types of constraints we've seen in a set of impls
- Dominant language
- Perl
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
This will make it easier to pick a dispatcher appropriate for those constraints (https://github.com/cxw42/Sub-Multi-Tiny/issues/2#issuecomment-527517987). E.g., a bit each for:
- Do any impls use positional parameters?
- Are there at least two different positional arities in the set of impls?
- Do any impls use named parameters?
- Do any impls use type constraints?
- Do any impls use `where` clauses?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the referenced comment on issue #2 and then locate the implementation that collects the set of multimethod implementations. Define completion as recording the listed positional, named, type-constraint, and where-clause properties, including whether positional arities differ, in a bitmask usable by dispatcher selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100