phino-0.0.163 / test-resources / rewriter-packs / custom / concat-from-expression.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---input: '[[ x -> "hello", y -> "world" ]]'output: |- ⟦ z ↦ "hello world" ⟧rules: custom: - name: concat from expression pattern: '[[ x -> !e1, y -> !e2 ]]' result: '[[ z -> !e3 ]]' where: - meta: '!e3' function: concat args: - '!e1' - '" "' - '!e2'