On 5/4/06, Marco Maggi <[EMAIL PROTECTED]> wrote:
"Neil Jerram" wrote:
>"Marco Maggi" <[EMAIL PROTECTED]> writes:
> "[EMAIL PROTECTED]" wrote:
>> I do not understand why the first solution does not work;
>>I've tried different combinations of functions but there is
>>something I am missing.
>
> Damn... it seems to work if I do not EXPORT the generic
> methods.
>
>You mean if you remove the "(export =)" line?
Yes, with the following and no EXPORT invocation
it works.
Actually, logically this *is* how the code should be structured. If
you had created a novel generic function within your module, that
function should have been exported. But what you really want is just
to add methods to the pre-existing generic function = which you
(implicitly) *import* into your module.
_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user