Mary Gardiner wrote:


> I've only been looking at Prolog for a few days though and got very
> frustrated at the step of defining Y true, from knight says Y.
Been many years since I last used prolog. Lemme go grab a book.

true(Y) :-
        knight(X)
        says(X, Y)


Try that.



Jenn V.
-- 
     "Do you ever wonder if there's a whole section of geek culture
             you miss out on by being a geek?" - Dancer.

[EMAIL PROTECTED]     Jenn Vesperman     http://www.simegen.com/~jenn/


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to