[racket-dev] doc fix for with-contract?

From: Stevie Strickland (sstrickl at ccs.neu.edu)
Date: Tue Jun 19 15:09:24 EDT 2012

You're correct about it being optional, so go ahead and add it.


On Jun 19, 2012, at 2:48 PM, John Clements wrote:

> It looks to me like the "free-var-list" is optional in uses of with-contract and define/contract. The documentation, though, suggests that this is not the case. Specifically, free-var-list is defined as:
> free-var-list	 	=	 	#:freevars ([id contract-expr] ...)
> 	 	|	 	#:freevar id contract-expr
> It looks to me like this could easily be fixed by adding another (empty) option to this definition. 
> Let me know if I should go ahead and add this.
> John
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/dev

Posted on the dev mailing list.