Skip to content

feat(array): add position-related array functions - #508

Draft
Seddryck wants to merge 3 commits into
mainfrom
feat/index
Draft

feat(array): add position-related array functions#508
Seddryck wants to merge 3 commits into
mainfrom
feat/index

Conversation

@Seddryck

@Seddryck Seddryck commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • add with-position to pair every array item with its zero-based position
  • add position-of(value) to return the first matching position
  • add value-at(position) with null handling for negative and out-of-range positions
  • register all three names for expression parsing and factory construction
  • add documentation metadata, conformance suites, and focused unit tests
  • document why position terminology is distinct from indexes used to accelerate searches

Closes #501

Validation

  • dotnet build Expressif.Testing/Expressif.Testing.csproj --framework net8.0
  • dotnet test Expressif.Testing/Expressif.Testing.csproj --framework net8.0
  • 2,801 passed, 1 pre-existing skipped

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d097f3ed-3999-4bc6-ad07-b1b05897165a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Seddryck Seddryck changed the title Add position-related array functions feat(array): add position-related array functions Aug 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add with-position, position-of, and value-at array functions

1 participant