Prologã®å ¥éææ¸ã«é£½ãã人㫠ãããã@AXE (竹岡å°ä¸) Update: 2007/DEC/08 Update: 2007/AUG/18 ååº: 2007/MAR/10 ãªãã ããWebã®ä¸çã«ã¯ãæ¥æ¬èªã§ã¯ãç´ç²ãªè«çåè¨èªã¨ãã¦ã®Prologå ¥éã® ææ¸ãããªãã Prologã¯ãå®ç¨è¨èª(ãç®æãã¦ããã¯ã)ãªã®ã§ããã¥ã¢ãªè«çã®è©±ã ãã§ã¯ã ãããªãã¨ãæã⦠ã§ãããããéæã«ã¦ãæ¥ããããã 1. é«éã«ããå¾æ å®ç¨ããã°ã©ã ããããã¾ãã«é«éæç¶ãã使ã£ã¦ããã¨ãããã¯ããã§ãå°ã ãããªãã®ãªã®ã ã⦠ã§ãããã¯ããé«éãªå¼ã³åºãã¯ãå¿ è¦ã ã aho(X,Z) :- A =.. [plus,1,X,Z], call(A),print(Z). ã¨ããè¿°èªãå®ç¾©ãã å®è¡ã¨ãã®çµæã¯æ¬¡ã®ã¨ããã ?- aho(4,Z). 5 Z = 5 ãcall/1ã ã¯ã å¼æ°
{{#tags}}- {{label}}
{{/tags}}