doc: Update argument order of SRFI-9 `set-field'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 11 Nov 2012 14:31:51 +0000 (15:31 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 11 Nov 2012 14:32:32 +0000 (15:32 +0100)
* doc/ref/api-compound.texi (SRFI-9 Records): Change argument order for
  `set-field'.

doc/ref/api-compound.texi

index 6aaed06..0b21065 100644 (file)
@@ -2426,7 +2426,7 @@ original unchanged (see example below.)
 In addition, the generic @code{set-field} and @code{set-fields} macros
 may be applied to any SRFI-9 record.
 
-@deffn {Scheme Syntax} set-field (field sub-fields ...) record value
+@deffn {Scheme Syntax} set-field record (field sub-fields ...) value
 Return a new record of @var{record}'s type whose fields are equal to
 the corresponding fields of @var{record} except for the one specified by
 @var{field}.