[racket] rudimentary Q. about lambda + contracts
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.
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.
[1] http://docs.racket-lang.org/guide/contracts-general-functions.html#(part._contracts-case-lambda)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131113/93d05d8e/attachment.html>