Prolog Question

Ffa0e8aab6587538f2834c6dd33e47be
0
student 101 Mar 31, 2005 at 03:23

Hi, I have just pick up this language and still learning the basics of it. I happened to came across a prolog question:

“To get started We need to assert primes([2]).Write a predicate start that removes any existing primes and leaves prolog in a state such that primes(X) returns X = [2].

Can anyone enlighten me? Thanks!

0 Replies

Please log in or register to post a reply.

No replies have been made yet.