Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] F# lightweight syntax for Ocaml with camlp4 - possible?
Date: Tue, 8 May 2007 02:28:05 +0100	[thread overview]
Message-ID: <200705080228.05597.jon@ffconsultancy.com> (raw)
In-Reply-To: <FD6BAF3C-4F48-4713-9E8F-2DF5EAD97893@epfl.ch>

On Tuesday 08 May 2007 00:43, Daniel Bünzli wrote:
> In a language where you don't enclose function arguments in parens I
> think this is really a bad idea, it makes the code more confusing
> than readable, especially if you try to code with a line width of 80
> columns.

As a hardcore OCamler, I must say that I had thought the #light syntax in F# 
to be morally repugnant. However, now that I've forced myself to actually use 
it, I'm finding it to be very useful indeed.

Perhaps the single most important reason why the #light syntax is useful stems 
from the way the F# Visual Studio add-in allows you to execute lines or 
blocks of code in a running interactive session. I'd love to see something 
similar for OCaml but, until then, I don't think the #light syntax would have 
quite the bite for OCaml that it does for F#.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
The F#.NET Journal
http://www.ffconsultancy.com/products/fsharp_journal/?e


  reply	other threads:[~2007-05-08  1:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07 22:26 Dmitry Bely
2007-05-07 22:36 ` [Caml-list] " Chris King
2007-05-10 15:24   ` Nicolas Pouillard
2007-05-07 23:43 ` Daniel Bünzli
2007-05-08  1:28   ` Jon Harrop [this message]
2007-05-08  4:12     ` skaller

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=200705080228.05597.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@yquem.inria.fr \
    /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