prolog - Can smb explain why this is **true** -
can smb explain why true?
not(g). not(g) :- g, !, fail.
it true because first clause reads:
not(_). the code got there weird. name not not quite fit obvious declarative meaning.
can smb explain why true?
not(g). not(g) :- g, !, fail.
it true because first clause reads:
not(_). the code got there weird. name not not quite fit obvious declarative meaning.
Comments
Post a Comment