prolog-dif
Simple Prolog delete from list
(This is NOT a coursework question. Just my own personal learning.) I\'m trying to do an exercise in Prolog to delete elements from a list. Here\'s my code :[详细]
2023-03-14 12:58 分类:问答permutation of list with multiple same elements Prolog
hello everyone pls forgive any misuse of the language i need to create myPermutation(L1,L2). which given a list L1 (which has elements with many concecutive appearances)returns a list L2 which is L1[详细]
2023-02-22 21:31 分类:问答Why is this prolog program not compiling?
I have a prolog program. These lines are preventing it from compiling: wins(A,B,C,D) :- convert(A,W), value(W,P), convert(B,X), value(X,Q),[详细]
2023-02-20 22:52 分类:问答What are the uses of the fail predicate in Prolog?
I can\'t come up with a situa开发者_StackOverflow中文版tion where I would need it.Elegant systems provide false/0 as a declarative synonym for the imperative fail/0. An example where it is useful is w[详细]
2023-01-02 23:40 分类:问答Requirements management plugin for Trac?
Are there any requirements management plugins out there for Trac? I checked the list on Trac-Hacks and didn\'t see anything[详细]
2022-12-19 08:35 分类:问答