use member/2 for filtering? ?- Result = [goodsinfo(101, "laptop", "tablet", "iPad"), goodsinfo(102, "notebook", "pendrive", "tab")], member(X, Result), X=goodsinfo(101, _, _, _). X = goodsinfo(101, "laptop", "tablet", "iPad") ; false. On 2 Feb 2015 at 07:59:42, Edgaonkar, Shrirang (shrirang.edgaonkar_at_nttdata.com) wrote: > > Result = [goodsinfo(101, "laptop", "tablet", "iPad"), goodsinfo(102, > "notebook", > "pendrive", "tab")]Received on Mon Feb 02 2015 - 07:27:47 CET
This archive was generated by hypermail 2.2.0 : Mon Feb 02 2015 - 09:13:17 CET