revAppend([], X, X).revAppend([X|Y], Z, W) :- revAppend(Y, [X|Z], W).?-revAppend([1,2,3], [], ZS).
Standard input is empty
prog.pl:3:3: syntax error: . or operator expected after expression 1 error(s) compilation failed
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!