bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: manual - small typo error


From: David Pirotte
Subject: Fw: manual - small typo error
Date: Tue, 5 Jul 2011 19:19:03 -0300

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 <address@hidden>
To: address@hidden
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

[Prev in Thread] Current Thread [Next in Thread]