<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Having gotten in the habit of writing function contracts, I prefer define/contract to (provide (contract-out ...)) because it keeps the contract near the function.<div><br></div><div>Is there an analogous idiom for lambda? I see there is no lambda/contract, and the docs on contracts for case-lambda [1] uses the (provide (contract-out ...)) style.</div><div><br></div><div>[1] <a href="http://docs.racket-lang.org/guide/contracts-general-functions.html#(part._contracts-case-lambda)">http://docs.racket-lang.org/guide/contracts-general-functions.html#(part._contracts-case-lambda)</a></div></body></html>