Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: Revised syntax question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: Revised syntax question

On Wed, Sep 27, 2000 at 09:36:42PM -0700, Brian Rogoff wrote:

> > since the binding x1 = f1 runs up to e4; in my syntax you have to write:
> >       do e1; e2; return let x1 = f1 in do e3; return e4
> > and I recognize it is ugly.)
> How many times did you bump into this coding, or is it mostly an abstract 
> problem?

No, it is not abstract. I have often the case in my code. Sometimes, I
turn around it, when it is equivalent, by writting:
       let x1 = f1 in do e1; e2; e3; return e4
but it is not really satisfactory.