{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbellbind.hatenadiary.org%2Fentry%2F20070903%2F1188819725\" title=\" \u3044\u3064\u307e\u3067\u305f\u3063\u3066\u3082Prolog\u306b\u306f\u6163\u308c\u306a\u3044\u306a\u3042 - \u30e9\u30b7\u30a6\u30e9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","height":"190","blog_url":"https://bellbind.hatenadiary.org/","provider_name":"Hatena Blog","author_name":"bellbind","description":"\u5358\u7d14\u306a\u30af\u30a8\u30ea\u306a\u3089\u7406\u89e3\u3067\u304d\u308b\u3002 father(ieyasu, hirotada). father(hirotada, kiyoyasu). granpa(D, A) <- father(D, M), father(M, A). \u3067 ?- granpa(ieyasu, X).\u3068\u304b\u3059\u308c\u3070X=kiyoyasu\u306b\u306a\u308b\u3053\u3068\u3050\u3089\u3044\u307e\u3067\u306f\u3002 \u305f\u3068\u3048\u3070\u3001\u30ea\u30b9\u30c8\u4e8c\u3064\u3092\u3064\u306a\u304e\u5408\u308f\u305b\u308bappend\u3092Prolog\u3067\u304b\u304f\u3068\u4ee5\u4e0b append([], R, R). append([H | T], R, [H | A]) <- append(T, R, A). \u3053\u308c\u306f\u76f4\u611f\u7684\u306b\u306f\u8003\u3048\u3066\u3057\u307e\u3046\u3002\u30c8\u30ec\u30fc\u30b9\u3092\u3068\u308c\u3070\u7406\u89e3\u306f\u3067\u304d\u308b\u304c\u3002 \u2026","url":"https://bellbind.hatenadiary.org/entry/20070903/1188819725","type":"rich","author_url":"https://blog.hatena.ne.jp/bellbind/","published":"2007-09-03 20:42:05","categories":[],"blog_title":"\u30e9\u30b7\u30a6\u30e9","width":"100%","image_url":null,"title":" \u3044\u3064\u307e\u3067\u305f\u3063\u3066\u3082Prolog\u306b\u306f\u6163\u308c\u306a\u3044\u306a\u3042"}