packages feed

phino-0.0.168 / 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):        normalized 𝑛·1Β·1 := ⟦ Ο† ↦ βˆ…, neg ↦ ⟦⟧ ⟧  # Ξ¦.number        𝑛·1Β·2 := 5.0        𝑛·1Β·3 := ⟦ Ο† ↦ Ξ¦.bytes( Ο† ↦ 40-14-00-00-00-00-00-00:Ξ” ), neg ↦ ⟦⟧ ⟧        morphed 𝑛·1Β·4 := 𝑛·1Β·3      𝑛1Β·1 := 𝑛·1Β·4  # 𝕄(ΞΎ.x)      𝑛·1Β·5 := 𝜎1:Ξ»:Ο†  # 𝑛 of L_kept      𝕄(𝑛·1Β·5):        morphed 𝑛·1Β·6 := 𝜎1:Ξ»:Ο†      𝑛·1Β·7 := 𝑛·1Β·6  # 𝕄(𝑛·1Β·5)      evaluated 𝑛·1Β·8 := 𝑛·1Β·7  # ⟦ x ↦ 𝑛·1Β·2, Ξ» ‍ L_kept ⟧    normalized 𝑛·0Β·1 := 𝜎1:Ξ»  # 𝑛·1Β·8.Ο†    morphed 𝑛·0Β·2 := 𝑛·0Β·1