[plt-scheme] plot/extend (zgrid ....) not consistent with documentation

From: Lawrence J Winkler (winkllj at acm.org)
Date: Sun Nov 1 16:59:14 EST 2009

The zgrid procedure is documented as

(zgrid f xs ys) → (listof (listof real?))
   f : (real? real? . -> . real?)
   xs : (listof real?)
   ys : (listof real?)
Given a function that consumes x and y to produce z, a list of xs, and  
a list of ys, produces a list of z column values.
But errors out indicating the procedure takes 4 parameters
It is defined in renderer-helpers.ss as
   ; zgrid : (number number -> number) listof-number listof-number ->  
listof-listof number
   (define (zgrid func x-vals y-vals samples)
     (map (lambda (x) (map (lambda (y) (func x y)) y-vals)) x-vals))

The 'samples' parameter is not referenced in the body.

How should the definition or use be corrected?

Thanks
-------------------------------
Lawrence J. Winkler, M.S., J.D.
5306 Loruth Ter
Madison Wisconsin 53711
Phone: 608-274-0414
Mobile: 608-345-0627
Email: winkllj at acm.org
--------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20091101/c63f258f/attachment.html>

Posted on the users mailing list.