read(X). even(X) :- write('even'), nl, fail);odd(X) :- write('odd'), nl, fail);
4
prog.pl:1: fatal error: redefining built-in predicate read/1 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!