/* はじめてのprolog */ parent(pam, bob). % コメント parent(tom, bob). parent(tom, liz). parent(bob, ann). parent(bob, pat). parent(pat, jim). female(pam). male(tom). female(liz). female(pat). female(ann). male(jim). offspring(Y, X) :- pare…
■起動 $prolog■ソース読み込み | ?- ['test.pl'].■終了 | ?- halt.
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.