From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA18060; Sat, 26 Apr 2003 09:37:42 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA08981 for ; Sat, 26 Apr 2003 09:37:40 +0200 (MET DST) Received: from teutates.kfunigraz.ac.at (TEUTATES.kfunigraz.ac.at [143.50.129.26]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h3Q7beH28499 for ; Sat, 26 Apr 2003 09:37:40 +0200 (MET DST) Received: from localhost (localhost.localdomain [127.0.0.1]) by teutates.kfunigraz.ac.at (Postfix) with ESMTP id 92FA83D2221; Sat, 26 Apr 2003 09:37:39 +0200 (CEST) Received: from teutates.kfunigraz.ac.at ([127.0.0.1]) by localhost (teutates.kfunigraz.ac.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05798-02; Sat, 26 Apr 2003 09:37:38 +0200 (CEST) Received: from stud.uni-graz.at (IGAM08AV.kfunigraz.ac.at [143.50.39.35]) by teutates.kfunigraz.ac.at (Postfix) with ESMTP id 6F1323D2191; Sat, 26 Apr 2003 09:37:38 +0200 (CEST) Message-ID: <3EAA2675.1040105@stud.uni-graz.at> Date: Sat, 26 Apr 2003 08:25:57 +0200 From: Siegfried Gonzi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Markus Mottl Cc: caml-list@inria.fr Subject: Re: [Caml-list] Easy solution in OCaml? References: <3EA8D012.8040700@stud.uni-graz.at> <20030425165944.GC6284@erle.ai.univie.ac.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at stud.uni-graz.at X-Spam: no; 0.00; siegfried:01 gonzi:01 stud:99 caml-list:01 ocaml:01 exists:01 constructs:02 mottl:02 wrote:03 markus:04 supports:06 manual:07 encounter:08 strange:09 deep:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Markus Mottl wrote: > > >>- why if-then constructs? I think this was called "guards" in Clean? >> > >I actually find it strange that there is no such thing like if-then-else >in Clean. OCaml also supports guards, but they are not always best style. > Hi: Thanks for your answer. My Clean is a bit outdated but I am sure if-else exists in Clean too. But I agree you would have to dig out a deep hole in order to encounter if-then in the Clean manual. I am not sure why, but I find if-then disturbing in OCaml. Regards, S. Gonzi ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners