* Fw: manual - small typo error
@ 2011-07-05 22:19 David Pirotte
2011-07-06 16:21 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: David Pirotte @ 2011-07-05 22:19 UTC (permalink / raw)
To: bug-guile
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 <david@altosw.be>
To: bug-guile@gnu.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fw: manual - small typo error
2011-07-05 22:19 Fw: manual - small typo error David Pirotte
@ 2011-07-06 16:21 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-07-06 16:21 UTC (permalink / raw)
To: David Pirotte; +Cc: bug-guile
Hi,
David Pirotte <david@altosw.be> skribis:
> 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))
Fixed, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-06 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 22:19 Fw: manual - small typo error David Pirotte
2011-07-06 16:21 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).