GNU bug report logs - #13904
A bug in guile's newest documentation.

Previous Next

Package: guile;

Reported by: Patrick Pan <pyxchina92929 <at> gmail.com>

Date: Fri, 8 Mar 2013 09:04:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Patrick Pan <pyxchina92929 <at> gmail.com>
To: 13904 <at> debbugs.gnu.org
Subject: bug#13904: A bug in guile's newest documentation.
Date: Fri, 8 Mar 2013 16:39:41 +0800
6.9.8 Procedures with Setters

A procedure with setter is a special kind of procedure which normally
behaves like any
accessor procedure, that is a procedure which accesses a data
structure. The difference is
that this kind of procedure has a so-called setter attached, which is
a procedure for storing
something into a data structure.
Procedures with setters are treated specially when the procedure
appears in the special
form set! (REFFIXME). How it works is best shown by example.
Suppose we have a procedure called foo-ref, which accepts two
arguments, a value of
type foo and an integer. The procedure returns the value stored at the
given index in the
foo object. Let f be a variable containing such a foo data structure.


Mind the 'REFFIXME'.

Thank you for your time and GREAT JOB.

Best,
Patrick.




This bug report was last modified 12 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.