def main(bool selector, bool[256] lhs, bool[256] rhs) -> (bool[512]): return if selector then [...rhs, ...lhs] else [...lhs, ...rhs] fi