[plt-scheme] DrScheme Structures

From: Pat (patrick.amkayah at gmail.com)
Date: Tue Mar 27 09:46:39 EDT 2007

Hello all,
When I define this:

;; distance-to-0 : posn  ->  number
;; to compute the distance of a-posn to the origin
(define (distance-to-0 a-posn) ...)

I get this error messege on clicking run;

...: name is not defined, not an argument, and not a primitive name.

Can someone please tell me what I am doing wrong?

Live, Learn, Love!
Patrick Amkayah.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070327/2a44a1b3/attachment.html>

Posted on the users mailing list.