Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to refactor a large Ocaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi Vanicat <remi.vanicat@g...>
Subject: Re: [Caml-list] How to refactor a large Ocaml program
2006/12/15, Florian Hars <hars@bik-gmbh.de>:
> Brian Hurt wrote:
> > Compile them all, let Ocaml sort things out.
>
> Except that more often than not the compiler will flag the type error
> at one of the locations where the type is already the way you want it
> and you have to hunt through all other files in your project trying to
> divine where the conflicting type assignment comes from.

You can then explicitly declare the type you want, and the error will
be found where it is.