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
[Caml-list] OCaml popularity
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-14 (20:34)
From: brogoff@s...
Subject: Re: [Caml-list] Re: Haskell-like syntax
If you are really desparate to be able to do this kind of thing, that is, to 
write your programs in a top down fashion, you can do it right now in OCaml, 
sans CamlP4, by writing code like 

    let rec main () = 
       let foo_arg = foo_aux () in 
        foo foo_arg 
    and foo = ... 
    and foo_aux = ...

I agree that "where" is nice, and there are other features of Revised I like a lot 
(I prefer that syntax to the classic one in fact) but it's hard to get too 
worked up about this issue, and I don't find what I wrote above counterintuitive 
at all. 

-- Brian

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: