Ross ROSS = Recommend OSS · open-source software intelligence for agents

pointfreeco/swift-case-paths

🧰 Case paths extends the key path hierarchy to enum cases. observed · 2026-09-03

github.com/pointfreeco/swift-case-paths · homepage · Swift · MIT (permissive) observed · 2026-09-03

Health v2 · maintenance only

96/100

  • Activity 100
  • Release rhythm 88
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 51.5
  • age_days: 2402
  • days_rel: 2
  • days_push: 0
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

1050 stars · 137 forks observed · 2026-09-03

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

CasePaths is a Swift library that extends the key path hierarchy to enum cases, enabling generic inspection and modification of enum case data. It is developed by Point-Free and commonly used as a building block in other Swift libraries such as the Composable Architecture.

Use cases

  • get key-path-like access to enum cases in Swift
  • write generic code that reads or modifies enum case payloads
  • embed and extract enum case data in SwiftUI bindings
  • build composable Swift architectures that need enum case optics
  • pattern-match enum cases generically in library code

When to choose

  • you write Swift libraries that need to abstract over enum cases like key paths do for properties
  • you use TCA or other Point-Free libraries that rely on case paths
  • you want type-safe, compiler-checked access to enum case associated values

When to avoid

  • your project does not use Swift or Apple/Swift ecosystems
  • you only need simple switch statements and never need generic enum case access
  • you want to avoid third-party dependencies in a small app

Facets

library · maturity stable

type-system developer-tools programming-languages developer-tools mobile-development cross-platform swift enums keypaths functional-programming swift-package-manager ios macos

4 sources

Member repositories

RepositoryRoleHealth v2
pointfreeco/swift-case-pathsmain96

For agents

markdown · JSON · MCP: product_card(name="pointfreeco/swift-case-paths")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem