I forgot to mention, in relation to this manual small example, that 'as is' it 
won't
wok because (my-module) must also import (oop goops). the text of the example
should become:

    ...
    (define-module (my-module)
       #:use-module (oop goops)
       #:use-module (math 2D-vectors)
       #:use-module (math 3D-vectors)
       #:duplicates (merge-generics))

Cheers,
David

;; --

Begin forwarded message:

Date: Tue, 5 Jul 2011 19:13:48 -0300
From: David Pirotte <[email protected]>
To: [email protected]
Subject: manual - small typo error


Hello,

reporting a small typo error in section 9.6.3 Merging Generics: #:duplicates 
expects
a list:

    ...
    (define-module (my-module)
       #:use-module (math 2D-vectors)
       #:use-module (math 3D-vectors)
       #:duplicates merge-generics)
        
should be

    ...
    (define-module (my-module)
       #:use-module (math 2D-vectors)
       #:use-module (math 3D-vectors)
       #:duplicates (merge-generics))


Cheers,
David


Reply via email to