candy-lang / candy

🍭 A sweet, functional programming language that is robust, minimalistic, and expressive.
MIT License
313 stars 3 forks source link

Add debug checks for `unchecked_…` functions #1008

Open JonasWanke opened 2 months ago

JonasWanke commented 2 months ago

unchecked_… functions are good for performance, but make errors potentially more difficult to find. Hence, we could add checks there that only run in debug mode.