[techtalk] This talk of N-ary trees and other things...

jenn at simegen.com jenn at simegen.com
Sun Mar 25 09:41:36 EST 2001


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.

jenn at simegen.com     Jenn Vesperman     http://www.simegen.com/~jenn/





More information about the Techtalk mailing list