Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contracts should be disabled by default #274

Open
stchang opened this issue Nov 20, 2021 · 4 comments
Open

contracts should be disabled by default #274

stchang opened this issue Nov 20, 2021 · 4 comments

Comments

@stchang
Copy link
Member

stchang commented Nov 20, 2021

Contracts should be disabled by default since they

  • use many unsupported features
  • increase code size by a lot
  • dont really affect semantics

Without contracts, many more racket programs could be supported by racketscript without too much effort.

@vishesh
Copy link
Member

vishesh commented Nov 20, 2021

Is there in Racket to disable contracts when expanding?

@samth
Copy link
Collaborator

samth commented Nov 20, 2021

No, there's no way to disable contracts in general.

@stchang
Copy link
Member Author

stchang commented Nov 22, 2021

No, there's no way to disable contracts in general.

Why not? :) I think many users would use it.

@stchang
Copy link
Member Author

stchang commented Nov 23, 2021

No, there's no way to disable contracts in general.

Why not? :) I think many users would use it.

Like here!

I should be able to run my test suite with contracts on, or export a production build with them off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants