开发者

lists inside a list

i am writing a predicate in prolog to delete an atom in a list, but i stuck on how to check if the atom is whether a list inside a list. a开发者_运维百科ny suggestions.


Iterate throughout a list and get type of each element and compare if it is atom's type, if not return desired bool.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜