Skip to content

0.18 PR8: docs IA — core, policy, shortcuts, orthogonal tools - #35

Merged
ildella merged 6 commits into
masterfrom
docs-library-map
Nov 24, 2026
Merged

ildella merged 6 commits into
masterfrom
docs-library-map

Conversation

@ildella

@ildella ildella commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Plan: /home/della/.opencode/plan/pipelean-0.18.md §PR 8. Docs only, self-reviewed per release process (final docs review pass happens on master at the end of 0.18).

What

One coherent library map replaces the "four peer models" framing:
core (series, scan/reduce) → error model/policy → shortcuts derived from the core (filter, mapSeries, findSync, foldSync, enrich) → orthogonal composition/concurrency (pipe, join) → operation tools (tryCatch, retry) → guards & helpers → sources & lifecycle → sync mirror.

  • README: "The shape of the library", core first, error model right after, shortcut equivalence table, orthogonal tools.
  • Guide: reordered core → policy → shortcuts → composition → operation tools → sources/lifecycle → sync → plain JS; strategy × consumer and options × consumer matrices.
  • Reference: TOC by layer, layer column in "How to choose", both matrices, unsupported-options section folded into the new IA.
  • Architecture: "Library map" (layer + scope), terminology regrouped, Outcome/Drop Signal updated.
  • fp-mapping: shortcuts marked, leaky-Maybe pipe rewritten with drop + labelled 1.0 preview.
  • SKILL: map first, anchors by layer, drop/onUndefined per API, removed aliases, "another library" handoff.

Claims corrected against src/ and tests/

  • findSync/foldSync are sync-only: no async twin (docs claimed every API had one).
  • failFast empties results on series/scan but keeps value on reduce/enrich — now explicit in both matrices.
  • take is accepted by series/filter/mapSeries/findSync, not folds/enrich/join.
  • Matrix cells verified individually (join failFast→failLate, findSync failFast → value: undefined, skip fires hooks but records nothing, enrich/join reject onSourceError).

Anchors

All 59 baseline internal links preserved (incl. #around-the-four-models, #the-undefined-sentinel, #which-fold, #result-shapes); 290 links checked, all resolve.

Gates

yarn lint 0 · yarn vitest run 76 files / 1075 tests · yarn check 0 clones / knip clean.

@ildella
ildella merged commit b46cfa9 into master Nov 24, 2026
1 check passed
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