packages feed

phino-0.0.173 / test-resources / evaluate-packs / binds-a-copy-over-no-bare-symbol-as-it-is.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# A 'defer' line defers only a copy one of whose arguments reads to a bare# symbol (#1892, #1933). Here 'Ξ¦.items.tail' reads to an object that knows# its 'next', so the line binds the copy as it is and the answer carries the# copy whole. No 'deferred' line is written and no symbol is minted for it.symbolic: |  - Ξ»: L_hold    morph:      𝑛1: $.b    defer:      𝑛2: 𝑛1    𝑛: ⟦ Ο† ↦ 𝑛2 ⟧location: 'Q.y'input: '⟦ step(tup) ↦ ⟦ Ο† ↦ tup.next ⟧, items ↦ ⟦ tail ↦ ⟦ next ↦ ⟦ Ο† ↦ ⟦ Ξ» ‍ 𝜎1 ⟧ ⟧ ⟧ ⟧, y ↦ ⟦ b ↦ Ξ¦.step( tup ↦ Ξ¦.items.tail ), Ξ» ‍ L_hold ⟧.Ο† ⟧'result: '⟦ Ο† ↦ tup.next, tup ↦ Ξ¦.items.tail ⟧'protocol: |  𝕄(Ξ¦.y):    𝔼(L_hold):      𝕄(ΞΎ.b):        remembered 𝑛·1Β·1 ≑ Ξ¦.step  # ⟦ tup ↦ βˆ…, Ο† ↦ tup.next ⟧        𝑛·1Β·2 ≔ Ξ¦.step( tup ↦ Ξ¦.items.tail )        𝑛·1Β·3 ≔ ⟦ Ο† ↦ tup.next, tup ↦ Ξ¦.items.tail ⟧        remembered 𝑛·1Β·3 ≑ 𝑛·1Β·1( tup ↦ Ξ¦.items.tail )        morphed 𝑛·1Β·4 ≔ 𝑛·1Β·3      𝑛1Β·1 ≔ 𝑛·1Β·4  # 𝕄(ΞΎ.b)      𝑛·1Β·5 ≔ 𝑛·1Β·4:Ο†  # 𝑛 of L_hold      𝕄(𝑛·1Β·5):        morphed 𝑛·1Β·6 ≔ 𝑛·1Β·4:Ο†      𝑛·1Β·7 ≔ 𝑛·1Β·6  # 𝕄(𝑛·1Β·5)      evaluated 𝑛·1Β·8 ≔ 𝑛·1Β·7  # ⟦ b ↦ 𝑛·1Β·2, Ξ» ‍ L_hold ⟧    morphed 𝑛·0Β·1 ≔ 𝑛·1Β·4