Re: some help with recursion again



On Tue, 08 Aug 2006 22:19:28 +0200, Pierpaolo BERNARDI <pierpaolo@xxxxxxxxxxxxx> wrote:

And you have a swi-prolog compatible maplist predicate,
then you can express your ftk predicate simply as:

fkt2(ErgList) :-
setof(A,B^tupel([A|B]),Dom),
maplist(tupel2,Dom,ErgList).

Which I didn't test, and so, please forget it.

8^)

P.

--
Anything below this line is being added by the newsserver
.