Skip to content

Add share, flatMapLatest, and reductions to the README algorithm catalog - #443

Open
MUSE-CODE-SPACE wants to merge 1 commit into
apple:mainfrom
MUSE-CODE-SPACE:docs/readme-missing-algorithms
Open

Add share, flatMapLatest, and reductions to the README algorithm catalog#443
MUSE-CODE-SPACE wants to merge 1 commit into
apple:mainfrom
MUSE-CODE-SPACE:docs/readme-missing-algorithms

Conversation

@MUSE-CODE-SPACE

@MUSE-CODE-SPACE MUSE-CODE-SPACE commented Jul 13, 2026

Copy link
Copy Markdown

Fixes #408, fixes #379.

The README's Contents section is the primary discovery surface for the package, but three shipped public APIs are missing from it even though each has a full DocC guide:

  • share(bufferingPolicy:)Guides/Share.md (the gap reported in both issues; users have assumed the feature doesn't exist)
  • flatMapLatest(_:)Guides/FlatMapLatest.md
  • reductions(_:_:)Guides/Reductions.md

This audits the catalog against Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/ (as #408 requests) and adds the three missing entries to the "Other useful asynchronous sequences" section, with one-line descriptions taken from each guide. All three are public on main (AsyncShareSequence.swift, FlatMapLatest/AsyncFlatMapLatestSequence.swift, AsyncInclusiveReductionsSequence.swift). Every other guide in the directory is already listed.

Note: a previous PR for the share entry alone (#401) was closed by its author after going unreviewed; this supersedes it and covers the full audit.

Fixes apple#408, fixes apple#379.

These shipped public APIs each have a DocC guide but were missing from
the README's Contents section, the primary discovery surface.
@MUSE-CODE-SPACE
MUSE-CODE-SPACE force-pushed the docs/readme-missing-algorithms branch from a0eef77 to 4d0d496 Compare July 14, 2026 13:06
@MUSE-CODE-SPACE

Copy link
Copy Markdown
Author

Force-pushed to amend the commit message only (removed a stray tooling attribution trailer) — the diff is unchanged. This also re-triggers CI, where the previous run hit an unrelated infra failure installing the Wasm Swift SDK (segfault on first attempt, then "bundle already installed" on retries).

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.

Some algorithms, like share are not included in all docs & the README Add share to README.md

2 participants