Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Prolog

Name: Anonymous 2011-09-19 9:55

Yes.

Name: Anonymous 2011-09-20 18:35

>>15

parent(c,a).
parent(c,b).

sibling(A,B) :-
  A \== B,
  parent(C,A),
  parent(C,B).

?- sibling(a,a).
false.

What's the problem?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List