minus(x,y,x-y).:-minus(2,1,1).
Standard input is empty
Standard output is empty
Warning: /home/qrRUnV/prog.pl:2: Goal (directive) failed: user:minus(2, 1, 1)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!