projog

3.73. nl - outputs a new line character.

Causes a line break to be output to the current stream.

This goal succeeds only once.

Example

?- write('a'), write('b'), nl, write('c').
ab
c

yes