linksplatform / linksplatform/Data.Doublets
Implementing addition operation for links with compact syntax and short doublet notation support
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Develop a solution to support the addition operation for links, aiming to provide a compact syntax and short notation for doublets in programming languages that do not support short syntactic notation for creating tuples. Consider the possibility of using a decorator that returns a structure/class Doublet with a defined + operator, storing a reference to the link storage and the doublet identifier, as well as its values.
Examples of operations with links and their analogs with string concatenation:
| Doublets Expression | String Concatenation |
|-------------------------------|-----------------------------|
| 1 + 1 = (1 1) | "1" + "1" = "11" |
| (1 2) + (3 4) = ((1 2) (3 4)) | "12" + "34" = "1234" |
| ((a b) c) + (e (d f)) = (((a b) c) (e (d f))) | "abc" + "edf" = "abcedf" |
Contributor guide
No contributing guide indexed for this repository
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
The issue names no files or tests; start by locating the link-storage and Doublet abstractions in the C# library. Compare the requested + behavior with existing link creation APIs, then define completion as support for single-value and nested-doublet addition using compact or short notation, with tests for the listed examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100