phino-0.0.152: test-resources/cst/to-salty-packs/primitives-with-rhos.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
# yamllint disable rule:line-length
---
expression: |
[[
x -> Q.number(
~0 -> Q.bytes([[D> 3F-F0-00-00-00-00-00-00]]), ^ -> Q.x, ^ -> [[ ]]
),
y -> Q.string(
~0 -> Q.bytes([[D> 48-65-79]]), ^ -> $.x
)
]]
result: |-
⟦
x ↦ Φ.number(
φ ↦ Φ.bytes(
φ ↦ ⟦
Δ ⤍ 3F-F0-00-00-00-00-00-00
⟧
)
)(
ρ ↦ Φ.x
)(
ρ ↦ ⟦⟧
),
y ↦ Φ.string(
φ ↦ Φ.bytes(
φ ↦ ⟦
Δ ⤍ 48-65-79
⟧
)
)(
ρ ↦ ξ.x
)
⟧