Skip to content

chore: release fp-library v0.16.1 / fp-macros v0.7.1#27

Merged
nothingnesses merged 5 commits into
mainfrom
0.16.1
Apr 15, 2026
Merged

chore: release fp-library v0.16.1 / fp-macros v0.7.1#27
nothingnesses merged 5 commits into
mainfrom
0.16.1

Conversation

@nothingnesses

Copy link
Copy Markdown
Owner

Summary

  • Release fp-library v0.16.1 and fp-macros v0.7.1.
  • doc_include! proc macro for markdown files with link rewriting to rustdoc intra-doc links.
  • docs module with 19 submodules for per-document rustdoc pages.
  • Fix explicit dispatch HM signatures for closureless functions.
  • Crate root docs replaced with concise summaries and links to docs module pages.
  • Updated functions.rs and trait_kind!/impl_kind! documentation.
  • cargo-insta added to dev shell, CONTRIBUTING.md updated with snapshot test and trybuild instructions.
  • Pseudo-code blocks in 6 markdown files marked as rust,ignore for correct rustdoc compilation.

Test plan

  • just verify passes (fmt, check, clippy, deny, doc, test).
  • All cross-document links resolve correctly in rendered rustdoc.
  • All 309 fp-macros lib tests pass.

Explicit closureless dispatch functions (compact, separate, alt, join)
showed raw type params (FA) instead of branded container types in their
HM signatures. The synthetic signature builder now recognizes both
InferableBrand-bounded and Dispatch-bounded params as container types,
and handles impl *Dispatch params for closureless explicit functions
(e.g., explicit::join).

Also adds cargo-insta to the dev shell and documents snapshot tests,
compile-fail tests, and dev shell troubleshooting in CONTRIBUTING.md.
Add a doc_include! proc macro that reads markdown files and rewrites
relative .md links to rustdoc intra-doc links pointing at
crate::docs::module_name submodules. This makes cross-document links
work in rendered rustdoc output (docs.rs and local cargo doc builds).

Create a docs module with 19 submodules, one per design document. Each
submodule's doc comment is generated from the corresponding markdown
file via doc_include!, so the same source files serve GitHub rendering,
crate root documentation, and per-module documentation pages.

Mark pseudo-code blocks in coyoneda.md, impl-trait-vs-named-generics.md,
and limitations-and-workarounds.md as rust,ignore so they compile
correctly as rustdoc examples.
Replace the 8 include_str!/doc_include! inlined documents on the crate
root page with concise "How it Works" summaries and a Documentation
links section pointing to the docs module subpages. This makes the
crate root page scannable while keeping full content one click away.

Mark pseudo-code blocks in optics-analysis.md, profunctor-analysis.md,
and lifetime-ablation-experiment.md as rust,ignore or text so they
compile correctly as rustdoc examples.
@nothingnesses nothingnesses merged commit 99015ca into main Apr 15, 2026
6 checks passed
@nothingnesses nothingnesses deleted the 0.16.1 branch April 15, 2026 07:51
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