Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
new emacs tuareg mode release
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 32 of 32 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sam Steingold  
View profile  
 More options May 26 2010, 6:54 pm
Newsgroups: fa.caml
From: Sam Steingold <s...@gnu.org>
Date: Wed, 26 May 2010 22:54:10 UTC
Local: Wed, May 26 2010 6:54 pm
Subject: [Caml-list] Re: new emacs tuareg mode release
Hi,
Tuareg 2.0.1 is now available from
<https://forge.ocamlcore.org/frs/?group_id=43>.
The main difference is a skip-syntax bug fix.
The sources are also available via svn from
<https://forge.ocamlcore.org/scm/?group_id=43>.

--
Sam Steingold <http://sds.podval.org>

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "New emacs tuareg mode" by David Baelde
David Baelde  
View profile  
 More options May 27 2010, 5:46 am
Newsgroups: fa.caml
From: David Baelde <david.bae...@gmail.com>
Date: Thu, 27 May 2010 09:46:17 UTC
Local: Thurs, May 27 2010 5:46 am
Subject: Re: [Caml-list] New emacs tuareg mode
On Wed, May 26, 2010 at 4:31 PM, Christophe TROESTLER

<Christophe.Troestler+oc...@umh.ac.be> wrote:
> COULD PEOPLE WHO FIND THE DEFAULT USEFUL SPEAK UP NOW ?

I prefer the default:

let x = ... in
let y = ... in
  foo

For what it's worth: I agree with the guidelines that two let-in are
like two assumptions and should be indented the same. But I like to
visualize the separation between the set of assumptions and what we do
with it. Another argument is that let-in creates a new scope, and
captures sequences of expressions. Visualizing it helps to understand
the structure of code. For example:

if blah then
  let () = f () in
  g () ;
  h ()

is not the same as

if blah then
  f () ;
  g () ;
  h ()

Cheers,
--
David

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eray Ozkural  
View profile  
 More options May 27 2010, 10:25 am
Newsgroups: fa.caml
From: Eray Ozkural <examach...@gmail.com>
Date: Thu, 27 May 2010 14:25:59 UTC
Local: Thurs, May 27 2010 10:25 am
Subject: Re: [Caml-list] New emacs tuareg mode

On Thu, May 27, 2010 at 12:46 PM, David Baelde <david.bae...@gmail.com> wrote:
> On Wed, May 26, 2010 at 4:31 PM, Christophe TROESTLER
> <Christophe.Troestler+oc...@umh.ac.be> wrote:
>> COULD PEOPLE WHO FIND THE DEFAULT USEFUL SPEAK UP NOW ?

> I prefer the default:

> let x = ... in
> let y = ... in
> foo

> For what it's worth: I agree with the guidelines that two let-in are
> like two assumptions and should be indented the same.

Seconded, I think it looks neat and it avoids too much nesting clutter.

Best,

--
Eray Ozkural, PhD candidate.  Comp. Sci. Dept., Bilkent University, Ankara
http://groups.yahoo.com/group/ai-philosophy
http://myspace.com/arizanesil http://myspace.com/malfunct

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grant Rettke  
View profile  
 More options May 27 2010, 11:42 am
Newsgroups: fa.caml
From: Grant Rettke <gret...@acm.org>
Date: Thu, 27 May 2010 15:42:21 UTC
Local: Thurs, May 27 2010 11:42 am
Subject: Re: [Caml-list] New emacs tuareg mode

Agreed.

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edgar Friendly  
View profile  
 More options May 27 2010, 12:01 pm
Newsgroups: fa.caml
From: Edgar Friendly <thelema...@gmail.com>
Date: Thu, 27 May 2010 16:01:38 UTC
Local: Thurs, May 27 2010 12:01 pm
Subject: Re: [Caml-list] New emacs tuareg mode
On 05/27/2010 02:46 AM, David Baelde wrote:
>   For example:

> if blah then
>    let () = f () in
>    g () ;
>    h ()

> is not the same as

> if blah then
>    f () ;
>    g () ;
>    h ()

This difference is only because of (what I perceive as) flaws in the
[if]/[then] syntax.  Namely that semicolon-delimited chains of
expressions don't parse within the [then] or [else] sections without
extra bracketing. This lets adding a bit of debug code (in if/then -
exactly where it's usually needed) to totally break the semantics by
pushing code outside the if/then expression. With improper indentation
(like your second example), one can make it look like one thing is
happening while another will happen.

Your first code block is a good example of non indented [let] blocks
looking good.  Your second example should be indented as follows to
clarify its actual structure:

if blah then
   f () ;
g () ;
h ()

E

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Baelde  
View profile  
 More options May 29 2010, 9:16 am
Newsgroups: fa.caml
From: David Baelde <david.bae...@ens-lyon.org>
Date: Sat, 29 May 2010 13:16:48 UTC
Local: Sat, May 29 2010 9:16 am
Subject: Re: [Caml-list] New emacs tuareg mode

On Thu, May 27, 2010 at 6:01 PM, Edgar Friendly <thelema...@gmail.com> wrote:
> Your first code block is a good example of non indented [let] blocks looking
> good. Your second example should be indented as follows to clarify its
> actual structure:

> if blah then
> f () ;
> g () ;
> h ()

Right, this was a bad example, and I can't think of a good one. Maybe
indentation can't help with that tricky syntax after all, and all I
can say is "I prefer the way it looks that way" (which is no surprise
since I've been learning OCaml under Tuareg).

Cheers,
--
David

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "new emacs tuareg mode release" by Albert Cohen
Albert Cohen  
View profile  
 More options Jun 11 2010, 8:21 am
Newsgroups: fa.caml
From: Albert Cohen <Albert.Co...@inria.fr>
Date: Fri, 11 Jun 2010 12:21:32 UTC
Local: Fri, Jun 11 2010 8:21 am
Subject: Re: [Caml-list] new emacs tuareg mode release
Hi all,

With some delay, I would like to thank Sam and all Jane St Capital folks
for taking over the maintenance of Tuareg.

Happy hacking indeed!

Albert

On 05/24/2010 06:36 PM, Sam Steingold wrote:

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »