phino-0.0.159: test-resources/evaluate-packs/heads-the-block-of-a-dataize-operand-with-the-operand.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# An operand of 'dataize' is brought down 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, so a reader learns what the block brings down from its first
# line rather than from the line after it closes (#2145).
symbolic: |
- λ: L_number_plus
dataize:
𝛿1: $.ρ
𝛿2: $.x
𝑛: Φ.number( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )
location: 'Q.@'
input: >
⟦ bytes(φ) ↦ ⟦⟧,
number(φ) ↦ ⟦ plus(ρ, x) ↦ ⟦ λ ⤍ L_number_plus ⟧ ⟧,
φ ↦ 5.plus( 6 ).φ ⟧
protocol: |
𝕄(Φ.φ):
𝑛·0·1 := 5.0
𝑛·0·2 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
𝑛·0·3 := 𝑛·0·1.plus( x ↦ 6.0 )
𝑛·0·4 := ⟦ x ↦ 6.0, λ ⤍ L_number_plus ⟧
𝔼(L_number_plus):
𝔻(ξ.ρ):
𝕄(ξ.ρ):
𝑛·1·1 := 5.0
𝑛·1·2 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·1·3 := 𝑛·1·2
boxed 𝑛·1·4 := 𝑛·1·3.φ
𝕄(𝑛·1·4):
𝑛·1·5 := Φ.bytes( φ ↦ 40-14-00-00-00-00-00-00:Δ )
𝑛·1·6 := 40-14-00-00-00-00-00-00:Δ:φ
morphed 𝑛·1·7 := 𝑛·1·6
boxed 𝑛·1·8 := 𝑛·1·7.φ
𝛿·1·1 := 40-14-00-00-00-00-00-00 # 5.0
𝛿1·1 := 𝛿·1·1 # 𝔻(ξ.ρ)
𝔻(ξ.x):
𝕄(ξ.x):
𝑛·1·9 := 6.0
𝑛·1·10 := ⟦ φ ↦ Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ ), plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·1·11 := 𝑛·1·10
boxed 𝑛·1·12 := 𝑛·1·11.φ
𝕄(𝑛·1·12):
𝑛·1·13 := Φ.bytes( φ ↦ 40-18-00-00-00-00-00-00:Δ )
𝑛·1·14 := 40-18-00-00-00-00-00-00:Δ:φ
morphed 𝑛·1·15 := 𝑛·1·14
boxed 𝑛·1·16 := 𝑛·1·15.φ
𝛿·1·2 := 40-18-00-00-00-00-00-00 # 6.0
𝛿2·1 := 𝛿·1·2 # 𝔻(ξ.x)
𝑛·1·17 := Φ.number( φ ↦ 𝜎1:λ ) # 𝑛
𝕄(𝑛·1·17):
𝑛·1·18 := Φ.number( φ ↦ 𝜎1:λ )
𝑛·1·19 := ⟦ φ ↦ 𝜎1:λ, plus(x) ↦ L_number_plus:λ ⟧
morphed 𝑛·1·20 := 𝑛·1·19
𝑛·1·21 := 𝑛·1·20 # 𝕄(𝑛·1·17)
morphed 𝑛·0·5 := 𝜎1:λ