fork download
  1. pop(1, 0) :- write('0'), nl.
  2. pop(X, Xp) := nl, write(), nl, X > 1, pop(Q, Qp), X is Q - 1.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
pop(3).
compilation info
prog.pl:2:12: syntax error: . or operator expected after expression
	1 error(s)
compilation failed
stdout
Standard output is empty