Guide100.4K views2,673 votes0 replies4,943 following
Add Argument Contracts to a Racket Function
Use racket/contract to make a Racket function reject invalid arguments with a clear contract-violation exception instead of silent wrong results.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use racket/contract to make a Racket function reject invalid arguments with a clear contract-violation exception instead of silent wrong results.