On Nov 30, 2011, at 7:11 AM, frank weytjens wrote:

> (define (in-circle? C pos)
>   (> (cirkel-number C) (distance-to-center C pos)))

If a math teacher asked you to determine whether a point was (strictly) within 
a circle, he'd write 

  |p - c| < r

Somewhere else he'd define 

                  ____________________________
 |p - c| = \/ (p.x - c.x)^2 + (p.y - c.y)^2

and somewhere else he'd define 

 foo.x extracts the x component from a Cartesian point foo

You wrote exactly the same though with bad choices for the names and with a bad 
ordering of material.

What part are you unhappy about? 

-- Matthias

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to