I am taking a beginner prolog course. We are supposed to use swi-prolog, here's what mine says
% library(swi_hooks) compiled into pce_swi_hooks 0.00 sec, 3,856 bytes
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 5.10.4)
We are asked to develop the arithmetic predicate add(X,Y,Z). using the successor s(X) [= X+1] functor. This predicate fails on my machine with the following error:
ERROR: toplevel: Undefined procedure: s/1 (DWIM could not correct goal)
Does anyone have a solution? Must I downgrade my swipl, maybe?
Thanks!