Skip to content

Apply prime, noprime and sim to selected indices - #274

Open
mtfishman wants to merge 1 commit into
mainfrom
mf/prime-shorthands
Open

mtfishman wants to merge 1 commit into
mainfrom
mf/prime-shorthands

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

prime, noprime and sim now take the indices to act on, as a collection or a lone index, or a predicate to choose them. prime also takes a prime-level increment, so prime(a, 2, i) raises i by two levels and prime(a, -1) lowers every index by one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.49%. Comparing base (882e825) to head (8cfcaf6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #274      +/-   ##
==========================================
+ Coverage   82.36%   82.49%   +0.13%     
==========================================
  Files          21       21              
  Lines        1474     1485      +11     
==========================================
+ Hits         1214     1225      +11     
  Misses        260      260              
Flag Coverage Δ
docs 34.90% <73.33%> (+2.34%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant