packages feed

phino-0.0.152: test-resources/rewriter-packs/custom/desugares-without-match.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
input: |
  [[
    foo ↦ ⟦
      x -> 4294967295
    ⟧
  ]]
output: |-
  ⟦
    foo ↦ ⟦
      x ↦ Φ.number(
        φ ↦ Φ.bytes(
          φ ↦ ⟦ Δ ⤍ 41-EF-FF-FF-FF-E0-00-00 ⟧
        )
      )
    ⟧
  ⟧
rules:
  custom:
    - name: desugar without match
      pattern: Φ.x.y.z
      result: Φ.a.b.c