phino-0.0.166: test-resources/evaluate-packs/keeps-the-answer-a-firing-already-gave.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# An entry answering a λ function no other entry answers: the firing happens,
# and the run then parks on the answer instead of failing on it. What fired
# before the run got stuck stays in the protocol.
symbolic: |
- λ: L_answers
𝑛: ⟦ λ ⤍ L_none ⟧
location: 'Q.x'
partial: true
input: '⟦ x ↦ ⟦ λ ⤍ L_answers ⟧.foo ⟧'
result: 'L_none:λ.foo'
protocol: |
𝕄(Φ.x):
𝔼(L_answers):
𝑛·1·1 := L_none:λ # 𝑛 of L_answers
𝕄(𝑛·1·1):
morphed 𝑛·1·2 := L_none:λ
𝑛·1·3 := L_none:λ # 𝕄(𝑛·1·1)
evaluated 𝑛·1·4 := L_none:λ # L_answers:λ
unanswered L_none # 𝕄(L_none:λ.foo)