phino-0.0.158: test-resources/evaluate-packs/heads-the-block-of-a-morph-operand-with-the-operand.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# An operand of 'morph' is reduced where it stands in the universe, under a
# name phino makes up for it, but the block the π opens is headed by the
# operand as the entry spells it, the way the line binding its meta is
# commented, and not by that made-up name (#2145).
symbolic: |
- Ξ»: L_kept
morph:
π1: $.x
π: β¦ Ο β¦ β¦ Ξ» β€ π β§ β§
location: 'Q.y'
input: 'β¦ bytes(Ο) β¦ β¦β§, number(Ο) β¦ β¦ neg β¦ β¦β§ β§, y β¦ β¦ x β¦ 5, Ξ» β€ L_kept β§.Ο β§'
result: 'π1:Ξ»'
protocol: |
π(Ξ¦.y):
πΌ(L_kept):
π(ΞΎ.x):
πΒ·1Β·1 := 5.0
morphed πΒ·1Β·2 := πΒ·1Β·1
π1Β·1 := πΒ·1Β·2 # π(ΞΎ.x)
πΒ·1Β·3 := π1:Ξ»:Ο # π
π(πΒ·1Β·3):
morphed πΒ·1Β·4 := π1:Ξ»:Ο
πΒ·1Β·5 := πΒ·1Β·4 # π(πΒ·1Β·3)
morphed πΒ·0Β·1 := π1:Ξ»