> ;; 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?
____________________ Racket Users list: http://lists.racket-lang.org/users