i'm a newbie too but i think that emacs. is the editor ...
Starting EMACS
We are going to use EMACS to edit our sources, so start the EMACS editor by typing "emacs." at the SWI-PROLOG prompt. It is very important that you don't forget the final dot (each PROLOG statement must end with a dot)...
How can you tell the program tha variable X is has a certin type ...
This is actually the problem ...
3. Define a predicate is_between(X , Y , N) meaning "N is between X and Y" and working like in the example below (there is a predefined PROLOG predicate called between that has the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.