Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Editing List Members

0 views
Skip to first unread message

George

unread,
Oct 10, 2008, 10:15:56 AM10/10/08
to
Dear All,

I am running a programme that calculates a list, but due to
string_to_list and string_to_atom calls, I end up with a list that looks
like the following: X = ['oneelement', 'anotherelement'] - list elements
will be of the form (x,"(0,a,1)",y) - and I would like the output to be
X = [oneelement, anotherelement].

Is there a way to achieve this (preferably in SWI-Prolog)?

Many Thanks,
George

0 new messages