“Identity element” section with an explanation and a table of Raku ops
Nobody has claimed this yet.
- Dominant language
- Raku
- Stars
- 308
- Forks
- 288
- Avg merge
- 3d 49m
- Merged PRs (30d)
- 2
Description
See https://en.wikipedia.org/wiki/Identity_element.
I think this should be discussed in Perl 6 docs (not just linked to wikipedia). We can have a similar table that specifically lists perl 6 ops.
For example, identity element for ~ is an empty string (""), even though ~ can be used for Blobs. There's a separate trap for that particular detail (see #2124), but it should be discussed in main docs also in context of identity elements (or maybe reduction).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked Wikipedia explanation and the existing Raku documentation around operators and reduction metaoperators. The work is done when the docs contain an explanation of identity elements and a table of Raku ops, including the empty-string identity for ~, while accounting for the related detail in #2124.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100