phino-0.0.168: test-resources/rewriter-packs/custom/applies-a-match-equal-to-one-swallowed-beside-an-inert-term.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
repeat: 1
input: |
[[
a -> [[ k -> [[ m -> [[ ]].go ]], s -> [[ q -> Q ]] ]].go,
b -> [[ ]].go
]]
output: '[[ a -> Q.done, b -> Q.done ]]'
rules:
custom:
- name: go-done
pattern: '[[ !B1 ]].go'
result: 'Q.done'