[racket] struct #:methods question

From: Tobias Hammer (tobias.hammer at dlr.de)
Date: Wed Aug 28 05:14:50 EDT 2013

Hi,

 from the docs on #:methods argument to struct:

"If #:methods gen:name method-defs is provided, then gen:name must be a  
transformer binding for the static information about a generic group  
produced by define-generics. The method-defs define the methods of  
gen:name. If any method of gen:name is not defined, then #f is used to  
signify that the structure type does not implement the particular method.  
[...]"

Can anyone explain the part with the #f to me? Does it mean that i have to  
(define some-gen-fun #f) to indicate it's not implemented? But that seems  
to have no real impact as i get the exactly same error with just leaving  
it out?
Thanks for any clarification.

Tobias



-- 
---------------------------------------------------------
Tobias Hammer
DLR / Robotics and Mechatronics Center (RMC)
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.hammer at dlr.de

Posted on the users mailing list.