From: Nicolas C. <war...@fr...> - 2003-06-05 02:10:09
|
[...] > Asserts get used *in addition to* strong type checking and unit tests. > And stay in the final "production" code. Yes, this is way overkill. As > the guy said when asked what do with his mother-in-law's mortal remains, > "embalm, cremate, then bury. Take no chances." There is a flag in ocamlc that does what you want : -noassert : Don't compile assertion checks. That way you may have a "debug" version and "release" version of the library. Note that the "assert false" are not removed, because they're handled as special cases. Nicolas Cannasse |