Turning off contracts for deployment is like practicing sailing with life vests on land and taking of the vests once you go to sea.
1. Consider using option contracts to control the cost. 2. Write a macro to throw contracts away. I can post one. -- Matthias, occasionally sails without life vest because he thinks he can swim (he can't; he merely coached performant swim teams) On Feb 17, 2014, at 7:36 AM, Laurent wrote: > On Mon, Feb 17, 2014 at 1:44 AM, Alexander D. Knauth <alexan...@knauth.org> > wrote: > On Feb 16, 2014, at 2:51 PM, Laurent wrote: > ... > > so that they can be deactivated to run the code in faster/less-error-friendly > mode if needed > ... > > Is there a way to disable contract checks like this? > > Not that I know of, so you probably won't be able to disable existing > contracts with a macro, but at least it's easy to do for you own contracts. > > Laurent > ____________________ > Racket Users list: > http://lists.racket-lang.org/users
____________________ Racket Users list: http://lists.racket-lang.org/users