Re: How to return clause in findall/3

From: Pere Montolio (tmp123_at_menta.net)
Date: 08/13/04


Date: 13 Aug 2004 11:13:44 -0700


(second post of same subject, com errors in first one)

You can also try:

clause2struct(sc(A,B,C)) :- sc(A,B,C).

findall(A,clause2struct(A),L).