once

From: Olivier Thirifay <olithiri_at_hotmail.com>
Date: Thu 18 Oct 2001 02:51:18 PM GMT
Message-ID: <F8278YmfEpdQqiKoJdx0000ef22@hotmail.com>
Hello,

is there possible to use "once" with "intersection" ?

example :

intersection([1,2,3,4],[2,4],Result)
I would like to find only one result, for example [2]or[4] but not all 
possible results.

How to do that ?

Now I use :

once intersection([1,2,3,4],[2,4],Result) like the example in doc
once member(X,[1,2,3])

BUT ECLiPSe return all the results.

I'm working on ECLiPSe 5.2 under Windows NT 4

Thanks
Olivier


_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse 
http://explorer.msn.fr/intl.asp
Received on Thu Oct 18 15:53:20 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:10 PM GMT GMT