Did you know ... Search Documentation:
Predicate flatten/2