Prolog program to add an element in a head position in given list.
domains list=symbol* predicates add(symbol,list,list) clauses add(X,L2,[X|L2]). OUT PUT ======= Goal: add(a,[b,c,d,e],NewList) NewList=["a","b","c","d","e"] 1 Solution