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 LAA13682; Mon, 10 Sep 2001 11:39:54 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA13661 for ; Mon, 10 Sep 2001 11:39:53 +0200 (MET DST) Received: from maties1.sun.ac.za (maties1.sun.ac.za [146.232.128.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f8A9dlL00399 for ; Mon, 10 Sep 2001 11:39:52 +0200 (MET DST) Received: from bywoner.sun.ac.za ([146.232.129.121]) by maties1.sun.ac.za with esmtp (Exim 3.31 #1) id 15gNXe-0000wh-00 for caml-list@inria.fr; Mon, 10 Sep 2001 11:39:46 +0200 Received: from js by bywoner.sun.ac.za with local (Exim 3.22 #1 (Debian)) id 15gNXd-00065C-00 for ; Mon, 10 Sep 2001 11:39:45 +0200 To: ocaml Subject: Re: [Caml-list] This expression is not a function, it cannot be applied References: <871ylgk4ag.fsf@adept.co.za> <20010909043824.J30316@ip178.usw22.rb1.bel.nwlink.com> From: Johann Spies Date: 10 Sep 2001 11:39:45 +0200 In-Reply-To: Mike Leary's message of "Sun, 9 Sep 2001 04:38:24 -0700" Message-ID: <874rqbs7tq.fsf@bywoner.sun.ac.za> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Mike Leary writes: > Parentheses in OCaml aren't used like they are in function calls in C or > Perl; in OCaml they cause what's in them to be evaluated, as if you were > merely grouping expressions. That was my problem. I have used the parentheses as I have used them in Python and Pascal. Thanks to you and Remi pointing this out to me. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "Draw near to God and he will draw near to you. Cleanse your hands, you sinners; and purify your hearts, you double minded." James 4:8 ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr