Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

#%private/steel/contract

this module is in the prelude and therefore automatically available when running steel.

make-function/c

Creates a FunctionContract from the list of conditions, splitting out the preconditions and the postconditions

</c

<=/c

>/c

>=/c

FlatContract

FlatContract-name

FlatContract-predicate

FlatContract?

FunctionContract

FunctionContract-post-condition

FunctionContract-pre-conditions

FunctionContract?

and/c

any/c

bind/c

contract->string

contract?

hashof

listof

make/c

non-empty-listof

or/c