Skip to content

feat: showcase library effects, structs, and termination checking - #192

Merged
magnus-madsen merged 2 commits into
masterfrom
feat/frontpage-features
Aug 3, 2026
Merged

feat: showcase library effects, structs, and termination checking#192
magnus-madsen merged 2 commits into
masterfrom
feat/frontpage-features

Conversation

@magnus-madsen

Copy link
Copy Markdown
Member

Adds three new feature sections to the front page, each with a code example based on the Programming Flix book:

  • Library Effects (after Algebraic Effects): Clock/Env/FileRead/Logger example with default handlers; prose covers the effect roster and middleware (retries, circuit breakers, sandboxed/in-memory filesystem)
  • Mutable Structs (after Region-based Local Mutation): Person struct with a mut field and companion module; prose covers mut fields, unboxed fields, and encapsulation
  • Termination Checking (after Seamless Java Interoperability): @Terminates tree-recursion example; prose explains the structural recursion check

Also:

  • Adds "automatic trait derivation", "default effect handlers", and "string interpolation" to the Complete Feature List (columns stay balanced at 9 items each)
  • Adds a "Test Framework" row to the Tooling Comparison Table (flix / OUnit, alcotest / HUnit, tasty)
  • Restores strict code/text alternation across all showcase rows (including the hero → ADT boundary) by flipping the sides of the rows from ADT through Mutable Structs; the only prose change needed was "program on the right" → "left" in Algebraic Effects

🤖 Generated with Claude Code

magnus-madsen and others added 2 commits August 3, 2026 19:40
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@magnus-madsen
magnus-madsen merged commit 04e7e65 into master Aug 3, 2026
2 checks passed
@magnus-madsen
magnus-madsen deleted the feat/frontpage-features branch August 3, 2026 17:46
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