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] mutually dependent modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: cashin@c...
Subject: Re: [Caml-list] mutually dependent modules
Issac Trotts <> writes:

> let _ = A.f2 := B.f2

I've seen this before, but why is it preferable to this?

  A.f2 := B.f2

There's an article on where Xavier Leroy mentions this
syntax as a way to get module initialization code to run ... but I get
the impression that folks are using it when it's semantically
equivalent to the same thing with the "let _ = " omitted entirely.

--Ed L Cashin            |   PGP public key:        |

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