prolog-toplevel
Defining predicates in SICStus Prolog / SWI-Prolog REPL
I am reading http://cs.union.edu/~striegnk/learn-prolog-now/html/node3.html#subsec.l1.kb1, but I am having trouble running the following predicate:[详细]
2023-04-02 16:53 分类:问答In Prolog why does this query return this particular result
?- assert(p(a)),assert(p(b)),p(X). X = a yes Wha开发者_如何学运维ts the effect of this query and why does it return this particular result?It is as if you queried the following source:[详细]
2023-03-20 15:18 分类:问答Why "..." appears in my answer of matrix in Prolog
I made a little code for creating a matrix of coordinates (like a chessboard), it\'s the following: createMatrix(N,M,R) :- creaMatriu(N,M,A), reversed(R,A).[详细]
2023-02-10 01:24 分类:问答Prolog: Making a procedure to print Hello World
I want to load this simple something into my Editor: Write:-repeat,write(\"hi\"),nl,fail. So that it prints \"hi\".[详细]
2022-12-25 02:06 分类:问答铜元素太高了,对人体有什么影响??
婠婠在水一方 2022-06-29 14:45 铜在人体中的含量比铁少得多,仅为100-200毫克。 缺乏 其主要功能是协助造血功能,催化血红蛋白的合成。铜不足会影响铁的吸收,导致血红蛋白开发者_开发技巧合成减少。铜[详细]
2022-12-16 14:57 分类:问答