tags:

views:

20

answers:

1

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. any suggestions.

A: 

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

SonOfOmer