Implement iterated logical expressions.