[racket] how must I interpreted this exercise

 From: Matthias Felleisen (matthias at ccs.neu.edu) Date: Sat Jun 23 10:18:41 EDT 2012 Previous message: [racket] how must I interpreted this exercise Next message: [racket] how must I interpreted this exercise Messages sorted by: [date] [thread] [subject] [author]

```Origin means (0,0) or plain 0 in English.

On Jun 22, 2012, at 2:42 PM, Roelof Wobben wrote:

> Hello,
>
> 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:
> ; – Posn
> ; – Number
> ; 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 ?
>
> Regards,
>
> Roelof
>
>
>
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

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

 Posted on the users mailing list. Previous message: [racket] how must I interpreted this exercise Next message: [racket] how must I interpreted this exercise Messages sorted by: [date] [thread] [subject] [author]