
% run in compiler:
% new_list(X).
% use ; after entering.

new_list([apricot,peach,pear | []]).
new_list([apricot,peach | [apple]]).
new_list([apricot | [peach,mango]]).

