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 MAA02939; Fri, 13 Dec 2002 12:28:31 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA02934 for caml-list@pauillac.inria.fr; Fri, 13 Dec 2002 12:28:30 +0100 (MET) 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 KAA32692 for ; Fri, 13 Dec 2002 10:02:04 +0100 (MET) Received: from iws.cs.uni-magdeburg.de (iws.cs.uni-magdeburg.de [141.44.24.15]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBD923X21842 for ; Fri, 13 Dec 2002 10:02:03 +0100 (MET) Received: from iiknov2.cs.uni-magdeburg.de (iiknovo2.cs.uni-magdeburg.de [141.44.24.199]) by iws.cs.uni-magdeburg.de (8.11.6/8.11.6) with ESMTP id gBD920L09826 for ; Fri, 13 Dec 2002 10:02:00 +0100 (MET) Message-Id: <200212130902.gBD920L09826@iws.cs.uni-magdeburg.de> Received: from IIK2/SpoolDir by iiknov2.cs.uni-magdeburg.de (Mercury 1.44); 13 Dec 02 10:22:24 +0100 Received: from SpoolDir by IIK2 (Mercury 1.44); 13 Dec 02 10:22:14 +0100 From: "Klaus Benecke" Organization: Uni Magdeburg To: caml-list@inria.fr Date: Fri, 13 Dec 2002 10:22:08 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: [Caml-list] small problem Reply-to: benecke@iws.cs.uni-magdeburg.de X-mailer: Pegasus Mail for Win32 (v3.11) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk How to omit the syntax error in OCAML in CAML it runs. let hd = function [] -> failwith "hd" | a::l -> a;; Characters 2-3: | a::l -> a ^ Syntax error Mit freundlichen Gruessen Klaus Benecke e-mail: benecke@iws.cs.uni-magdeburg.de home-page: http://theo.cs.uni-magdeburg.de/benecke.html ------------------- 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