From: Philippe Wang <lists@philippewang.info>
To: Martin Jambon <martin1977@laposte.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] About the O'Reilly book on the web
Date: Wed, 29 Nov 2006 16:26:42 +0100 [thread overview]
Message-ID: <456DA6B2.9000401@philippewang.info> (raw)
In-Reply-To: <Pine.LNX.4.64.0611281725380.2494@droopy>
Hello,
> You can't make things better without making them different. OCaml is
> about being better, and so is the syntax I chose for regexps. It is fully
> compatible with the syntax used by ocamllex, and I must say ocamllex
> regexps are incredibly easy to learn and to use. I never had any problem
> with them. In comparison Str or PCRE regexps are truly horrible.
Maybe if regexps are taken to first class values (at least in the
syntax, whatever what is done behind...), like in Perl, then it'll be
easily usable. Well, I will look with more attention to micmatch, maybe
it's actually really easy to handle it.
I will think about it when I have time for that.
> I don't think that those people would be more satisfied with another
> syntax anyway, because OCaml would still be different! It's just that
> average people are afraid of anything that is different from what they
> already know.
In deed, you're probably right. Still I hope not.
> OK. Here is what I propose to whoever thinks OCaml's syntax is not good:
> give me a *complete* description of the syntax that you want and I'll
> implement it.
That's really hard :-D
I like the OCaml syntax very much (I must be crazy :-D)
(but definitely not the one of "Camlp4 Chapter 6 : The Revised syntax")
--
Philippe Wang
next prev parent reply other threads:[~2006-11-29 15:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-25 18:38 Francois Colonna
2006-11-27 9:07 ` [Caml-list] " Sebastien Ferre
2006-11-28 21:01 ` Philippe Wang
2006-11-28 22:33 ` Till Varoquaux
2006-11-28 22:47 ` Martin Jambon
2006-11-29 0:18 ` Philippe Wang
2006-11-29 1:48 ` Martin Jambon
2006-11-29 15:26 ` Philippe Wang [this message]
2006-11-29 17:52 ` Diego Olivier FERNANDEZ PONS
2006-11-29 17:25 ` brogoff
2006-11-29 18:10 ` Philippe Wang
2006-11-30 2:30 ` skaller
2006-11-30 18:20 ` Tom
2006-12-01 3:21 ` skaller
2006-12-01 6:48 ` Tom
2006-11-29 21:20 ` Jon Harrop
2006-11-29 21:25 ` Till Varoquaux
2006-12-01 0:12 ` brogoff
2006-11-28 23:07 ` Philippe Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=456DA6B2.9000401@philippewang.info \
--to=lists@philippewang.info \
--cc=caml-list@inria.fr \
--cc=martin1977@laposte.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox