even(x) :- 0 is mod(x,2).
even(8).
prog.pl:1: fatal error: unknown expression in arithmetic expression (atm(x)) 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!