<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Turning off contracts for deployment is like practicing sailing with life vests on land and taking of the vests once you go to sea. </div><div><br></div><div>1. Consider using option contracts to control the cost. </div><div><br></div><div>2. Write a macro to throw contracts away. I can post one. </div><div><br></div><div><br></div><div>-- Matthias, occasionally sails without life vest because he thinks he can swim (he can't; he merely coached performant swim teams) </div><div><br></div><div><br></div><br><div><div>On Feb 17, 2014, at 7:36 AM, Laurent wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 17, 2014 at 1:44 AM, Alexander D. Knauth <span dir="ltr"><<a href="mailto:alexander@knauth.org" target="_blank">alexander@knauth.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Feb 16, 2014, at 2:51 PM, Laurent wrote:<br>
...<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
so that they can be deactivated to run the code in faster/less-error-friendly mode if needed<br>
</blockquote></div>
...<br>
<br>
Is there a way to disable contract checks like this?<br></blockquote></div><br></div><div class="gmail_extra">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.<br>
<br>Laurent<br></div></div>
____________________<br> Racket Users list:<br> <a href="http://lists.racket-lang.org/users">http://lists.racket-lang.org/users</a><br></blockquote></div><br></body></html>