packages feed

phino-0.0.173 / test-resources / evaluate-packs / answers-a-dispatch-off-a-symbol-outside-a-join.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# yamllint disable rule:line-length# An entry that does not join morphs an operand dispatching off a bare# symbol. The dispatch is 'opaque' and gives a new symbol (#2479), so the# firing answers it and the run goes on instead of getting stuck.symbolic: |  - Ξ»: L_fork    dataize:      𝛿1: $.on🌡    morph:      𝑛1: $.left🌡      𝑛2: $.right🌡    join:      on: 𝛿1      left: 𝑛1      right: 𝑛2      otherwise: L_fork  - Ξ»: L_id    morph:      𝑛1: $.x    𝑛: 𝑛1location: 'Q.e1'input: '⟦ e1 ↦ ⟦ Ξ» ‍ L_id, x ↦ ⟦ Ξ» ‍ 𝜎1 ⟧.q ⟧.Ο† ⟧'result: '𝜎3:Ξ»'protocol: |  𝕄(Ξ¦.e1):    𝔼(L_id):      𝕄(ΞΎ.x):        opaque 𝜎2:Ξ» ≔ 𝜎1:Ξ».q        morphed 𝑛·1Β·1 ≔ 𝜎2:Ξ»      𝑛1Β·1 ≔ 𝑛·1Β·1  # 𝕄(ΞΎ.x)      𝑛·1Β·2 ≔ 𝑛1Β·1  # 𝑛 of L_id      𝕄(𝑛·1Β·2):        morphed 𝑛·1Β·3 ≔ 𝑛1Β·1      𝑛·1Β·4 ≔ 𝑛1Β·1  # 𝕄(𝑛·1Β·2)      evaluated 𝑛·1Β·5 ≔ 𝑛·1Β·4  # ⟦ Ξ» ‍ L_id, x ↦ 𝜎1:Ξ».q ⟧    opaque 𝜎3:Ξ» ≔ 𝜎2:Ξ».Ο†    morphed 𝑛·0Β·1 ≔ 𝜎3:Ξ»