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 HAA25933; Thu, 7 Feb 2002 07:24:23 +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 HAA24977 for caml-list@pauillac.inria.fr; Thu, 7 Feb 2002 07:24:22 +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 CAA22932 for ; Thu, 7 Feb 2002 02:43:22 +0100 (MET) Received: from sj1-3-4-9.securesites.net (sj1-3-4-9.securesites.net [192.220.127.202]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g171hLn29198 for ; Thu, 7 Feb 2002 02:43:21 +0100 (MET) Received: (qmail 83247 invoked by uid 16863); 7 Feb 2002 01:43:19 -0000 Received: from unknown (HELO localhost) ([192.220.65.223]) (envelope-sender ) by 192.220.65.223 (qmail-ldap-1.03) with SMTP for ; 7 Feb 2002 01:43:19 -0000 Date: Thu, 7 Feb 2002 01:43:19 +0000 (GMT) From: Brian Rogoff To: Markus Mottl cc: caml-list@inria.fr Subject: Re: [Caml-list] syntax foo In-Reply-To: <20020206182555.GA32204@fichte.ai.univie.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 6 Feb 2002, Markus Mottl wrote: > On Wed, 06 Feb 2002, Brian Rogoff wrote: > > On Tue, 5 Feb 2002, [iso-8859-15] J=E9r=F4me Marant wrote: > > > People who want a Haskell-like syntax will have to go for Haskell o= r > > > > The syntactic differences between Haskell and OCaml are insignificant > > beside the semantic ones. > > This is definitely not true: Haskell is sensitive to layout, which alone > makes it very different from a syntactic point of view. Though this > lets Haskell-programs look very nice to the human eye, it also makes > other things more difficult, e.g. using preprocessors or automatic code > generation. The parser is also more difficult to implement. Parsing is easy, even for "hard" to parse languages like Haskell. I haven't written more than trivial programs in Haskell or Clean, but I find it a lot harder to get used to the semantic differences than the syntactic ones. In fact, I've never found syntax the hard part of learning any programming language. -- Brian ------------------- 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