<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Helo,<br><br>in the documentation it is mentioned that the syntax for define-generics #:defaults is the same as for struct #:methods:<br><a href="http://docs.racket-lang.org/reference/struct-generics.html#%28form._%28%28lib._racket%2Fgeneric..rkt%29._define-generics%29%29">http://docs.racket-lang.org/reference/struct-generics.html#%28form._%28%28lib._racket%2Fgeneric..rkt%29._define-generics%29%29</a><br>and #:methods specifies that define/generic can be used to bind the generic method:<br><a href="http://docs.racket-lang.org/reference/define-struct.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._struct%29%29">http://docs.racket-lang.org/reference/define-struct.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._struct%29%29</a><br><br>but unfortunately using define/generic in #:defaults is a syntax error.<br>Is it possible to access the generic method from inside #:defaults definitions?<br><br>Groeten,<br>Bert<br>                                               </div></body>
</html>