Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] syntax foo
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Rogoff <bpr@b...>
Subject: Re: [Caml-list] syntax foo
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érôme Marant wrote:
> > >   People who want a Haskell-like syntax will have to go for Haskell or
> >
> > 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