Re: How to return clause in findall/3
From: Pere Montolio (tmp123_at_menta.net)
Date: 08/13/04
- Next message: reader: "Re: How to return clause in findall/3"
- Previous message: Jan Wielemaker: "Re: How to return clause in findall/3"
- In reply to: rhapsody: "How to return clause in findall/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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).
- Next message: reader: "Re: How to return clause in findall/3"
- Previous message: Jan Wielemaker: "Re: How to return clause in findall/3"
- In reply to: rhapsody: "How to return clause in findall/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]