I’ve read about it in a book but it wasn’t explained at all. I also never saw it in a program. Is part of Prolog syntax? What’s it for? Do you use it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It represents implication. The righthand side is only executed if the lefthand side is true. Thus, if you have this code,
Then it will write different things depending on it argument:
(link to documentation.)