separated contract form from default form.

This commit is contained in:
2026-05-11 01:11:55 +02:00
parent 9aebc6863d
commit 3a92a6552d
4 changed files with 173 additions and 4 deletions
+2 -4
View File
@@ -19,10 +19,8 @@ raises that exception, and the definition forms catch it around the function
body. The contracted form additionally checks early-returned values against
the result contract.
The module re-exports @racketmodname[racket/contract], so contracts such as
@racket[->], @racket[->*], @racket[any/c], @racket[or/c],
@racket[and/c], and @racket[listof] are available from the same
@racket[require].
See @racketmodname[define-return/contract] for the contracted version of
this module.
@section{Return}