Skip to content

Dogfood mesh-lang#22 bare payload variant patterns in Hyperpush #64

@snowdamiz

Description

@snowdamiz

Context

This issue tracks the product-side dogfood work for hyperpush-org/mesh-lang#22:

Why this exists

If the language/compiler fix lands, Hyperpush should use it in real product code so the feature is proven outside isolated compiler tests.

Dogfood goal

After the mesh-lang implementation is available, update Hyperpush-owned code to use the shorter constructor-pattern form anywhere the payload is intentionally ignored.

Examples of the intended migration shape:

case result do
  Ok -> continue_flow()
  Err -> handle_failure()
end

instead of:

case result do
  Ok(_) -> continue_flow()
  Err(_) -> handle_failure()
end

Scope

  • Find Hyperpush/Mesher-owned Mesh code that currently uses placeholder binders only to ignore payloads.
  • Replace those sites with the new constructor-only pattern form once supported.
  • Update any docs, examples, fixtures, or tests in Hyperpush that should show the dogfed syntax.
  • Verify the affected product flows still build and run correctly.

Linkage

This issue is the downstream dogfood companion to:

  • hyperpush-org/mesh-lang#22

When either issue is updated, keep the cross-links current so the language change and its real product adoption stay visible together.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestroadmapLaunch roadmap work

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions