[racket] how must I interpreted this exercise

From: Roelof Wobben (r.wobben at home.nl)
Date: Fri Jun 22 14:42:49 EDT 2012


I try to make this exercise :

Exercise 76: A programmer has chosen to represent locations as Cartesian 
points or just points:

    ;Location is one of:
    ;interp. Posn are positions on the Cartesian grid,
    ;Numbers are positions on the number line

Design the function in-reach, which determines whether or not a given 
location's distance to the origin is strictly less than some constantR.

So I must design a function called in-reach.

Am I right I need to use two structs (Posn) . One for the given location 
and one for the origon ?



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

Posted on the users mailing list.