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.
精彩评论