Mention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?

Category: PrologMention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?
Editor">Editor Staff asked 2 years ago

Mention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?

1 Answers
Editor">Editor Staff answered 2 years ago

“=” triggers unification in Prolog
“is” triggers arithmetic evaluation in Prolog
Adv Java Tutorial