用常用词汇获取所有记录

时间:2017-04-06 18:19:42

标签: prolog

我需要用常用词来获取所有记录。但这对我来说太难了。

record(id(1),myString([exchange, company, price]).
record(id(2),myString([share_current, change, industry, company]).
record(id(3),myString([currency, trans_share, type, and]).
record(id(4),myString([price_max, price_min, share_current, work]).

结果:

myString([exchange, company, price]
myString([share_current, change, industry, company]
myString([price_max, price_min, share_current, work]

0 个答案:

没有答案