diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2009-08-09 14:59:21 +0100 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2009-08-09 15:05:02 +0100 |
commit | 8d9cb14e61b1487f3666cabc98fbf7d329e329d6 (patch) | |
tree | cb3b52194e858112bef1a858c6024c51a1a527a4 | |
parent | aba0dff5f7ee451b44af771f8ab09b750ce15f74 (diff) | |
download | guile-8d9cb14e61b1487f3666cabc98fbf7d329e329d6.tar.gz |
Use #:keyword syntax in preference to :keyword
because that is Guile's default.
-rw-r--r-- | doc/ref/api-modules.texi | 4 | ||||
-rw-r--r-- | doc/ref/goops.texi | 18 | ||||
-rw-r--r-- | doc/ref/tools.texi | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/ref/api-modules.texi b/doc/ref/api-modules.texi index a4f27185d..02e260d7e 100644 --- a/doc/ref/api-modules.texi +++ b/doc/ref/api-modules.texi @@ -243,8 +243,8 @@ them to suit the current module's needs. For example: @cindex binding renamer @lisp (use-modules ((ice-9 popen) - :select ((open-pipe . pipe-open) close-pipe) - :renamer (symbol-prefix-proc 'unixy:))) + #:select ((open-pipe . pipe-open) close-pipe) + #:renamer (symbol-prefix-proc 'unixy:))) @end lisp Here, the interface specification is more complex than before, and the diff --git a/doc/ref/goops.texi b/doc/ref/goops.texi index c49982a36..44d4106d6 100644 --- a/doc/ref/goops.texi +++ b/doc/ref/goops.texi @@ -1491,17 +1491,17 @@ all generic functions sharing a common name: @lisp (define-module (math 2D-vectors) - :use-module (oop goops) - :export (x y ...)) + #:use-module (oop goops) + #:export (x y ...)) (define-module (math 3D-vectors) - :use-module (oop goops) - :export (x y z ...)) + #:use-module (oop goops) + #:export (x y z ...)) (define-module (my-module) - :use-module (math 2D-vectors) - :use-module (math 3D-vectors) - :duplicates merge-generics) + #:use-module (math 2D-vectors) + #:use-module (math 3D-vectors) + #:duplicates merge-generics) @end lisp The generic function @code{x} in @code{(my-module)} will now share @@ -1532,10 +1532,10 @@ Sharing is dynamic, so that adding new methods to a descendant implies adding it to the ancestor. If duplicates checking is desired in the above example, the following -form of the @code{:duplicates} option can be used instead: +form of the @code{#:duplicates} option can be used instead: @lisp - :duplicates (merge-generics check) + #:duplicates (merge-generics check) @end lisp @node Generic Function Internals diff --git a/doc/ref/tools.texi b/doc/ref/tools.texi index 4a076bbf0..8b0d3a3bb 100644 --- a/doc/ref/tools.texi +++ b/doc/ref/tools.texi @@ -364,7 +364,7 @@ of the form: @example (define-module (scripts PROGRAM) - :export (PROGRAM)) + #:export (PROGRAM)) @end example Feel free to export other definitions useful in the module context. |