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] Function forward declaration?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christopher Dutchyn <cdutchyn@c...>
Subject: Re: [Caml-list] Function forward declaration?

On Wed, 8 Apr 2004, skaller wrote:

> A more complex error check might look like this:
> 	if A then
> 		if B then error
> 	;

Color me naive, but isn't that just

	if A and B then

assuming there's something else to do than check A and B.  Eliding else in
a failwith/throw seems common.

Chris Dutchyn

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