Did you know ... Search Documentation:
Predicate writef/1