d_run
2021-10-25 10:33:57

:bow:


cperivol
2021-10-25 15:22:01

I have defined all these precise and quite expensive contracts for my code assuming it would be easy to disable them like assertions in other languages (I am just learning about contracts) but I can’t find an obvious way to do that. Am I missing something?


cperivol
2021-10-25 15:22:25

In particular I use define/contract


sorawee
2021-10-25 15:24:31

Unfortunately. There is no good way to disable them, especially for define/contract. For contract-out, you can use #:unprotected-submodule to generate a submodule that provides uncontracted values.


cperivol
2021-10-25 15:27:07

that sucks… I saw somewher that one can redefine contract-out


cperivol
2021-10-25 15:27:18

would that work with define/contract?



cperivol
2021-10-25 18:03:02

Perfect! thank you very much!


piliplaker
2021-10-26 05:01:33

@piliplaker has joined the channel