def cat
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
403def cat(a: Node, b: Node) -> Node:
404 match a:
405 case NEmpty{}:
406 b
407 case _:
408 match b:
409 case NEmpty{}:
410 a
411 case _:
412 NCat{a, b}