From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_40,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,466e62f13ff5722e,start X-Google-Attributes: gid103376,public From: Draculia@usa.net Subject: Re: How i can use a list in Caml Light language? Date: 1998/02/05 Message-ID: <34d9ffad.8160949@news.tin.it>#1/1 X-Deja-AN: 322372434 Reply-To: Draculia@usa.net Organization: Telecom Italia Net Newsgroups: comp.lang.ada Date: 1998-02-05T00:00:00+00:00 List-Id: In Caml light 07 once that I have created a list: # let lista= 3::9::4::7::6::5::8::[];; and I have inserted a new term (30) the answer of the compiler is -: int list = [30;3;9;4;7;6;5;8] why if I require the value of list doing # lista;; the answer is -: int list = [3;9;4;7;6;5;8] or rather the list Lista? The same with the function of cancellation!! How I could create a function that given a list, check that there are not 2 elements equal? Please help me within febryary 10. THANK YOU. P.S.: Sorry for my english but i'm an italian boy and my translator program is not good !