packages feed

phino-0.0.162: test-resources/cli/rules/kind-size-to-attribute.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# Binds the number that size returns to an attribute meta.
name: size-to-attribute
pattern: "⟦ 𝐡1, foo ↦ 𝑒1 ⟧"
result: "⟦ 𝜏2 ↦ 𝑒1 ⟧"
where:
  - meta: "𝜏2"
    function: size
    args:
      - "𝐡1"