[racket] structures question

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Thu Mar 29 10:36:26 EDT 2012

> ;; Posn -> Number.
> ;; A programm for calculating the distance is Manhatten
> (check-expect ( manhatten (make-posn 7 3 ) 10))
> (check-expect ( manhatten (make-posn 1 1 ) 2))
>
> Hi Roelof,

As the
 code is currently written, it looks like it is passing two arguments to
manhatten, rather than one.  Is that right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120329/006e66f7/attachment.html>

Posted on the users mailing list.