guile-srfi-123

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c80b0ff59df1d4326151a07a1351b67ff0201484
parent 3f38a50a05ab484221cfa6e62dff0027a3bbf861
Author: Arthur A. Gleckler <srfi@speechcode.com>
Date:   Sun, 23 Aug 2015 15:29:10 -0700

Publish fifth draft.

Diffstat:
Msrfi-123.html | 3++-
Msrfi-123.md | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/srfi-123.html b/srfi-123.html @@ -23,6 +23,7 @@ class="antispam">nospam</span>srfi.schemers.org</a></code>. To subscribe to the <li>Draft #2 published: 2015/8/16</li> <li>Draft #3 published: 2015/8/17</li> <li>Draft #4 published: 2015/8/18</li> +<li>Draft #5 published: 2015/8/23 (code changes only)</li> </ul> <h2 id="abstract">Abstract</h2> <p>Lisp dialects including Scheme have traditionally lacked short, simple, generic syntax for accessing and modifying the fields of arbitrary &quot;collection&quot; objects. We fill this gap for Scheme by defining generalized accessors, and an associated SRFI-17 setter.</p> @@ -122,7 +123,7 @@ vec ;=&gt; #(3 1 2)</code></pre> <p>It might be desirable for Scheme systems to offer a more efficient <code>type-of</code> procedure than the one used in this implementation, which in the worst case consumes linear time with regard to the number of types (including every record type) within the system, albeit with a very small constant factor: one call to each type predicate.</p> <h2 id="acknowledgments">Acknowledgments</h2> <p>Thanks to Jorgen Schäfer for inspiring me to write this SRFI and making the initial suggestion for the <code>ref</code> procedure and ternary <code>set!</code> syntax, as well as providing continuous input.</p> -<p>The <code>ref*</code> procedure with its <code>~</code> synonym and SRFI-17 setter (which replaced the initially considered ternary <code>set!</code> syntax) seems to have first appeared in Gauche. Thanks to Shiro Kawai and Issac Trotts: <a href="http://blog.practical-scheme.net/gauche/20100428-shorter-names">http://blog.practical-scheme.net/gauche/20100428-shorter-names</a></p> +<p>The <code>ref*</code> procedure with its <code>~</code> synonym and SRFI-17 setter (which replaced the initially considered ternary <code>set!</code> syntax) seems to have first appeared in Gauche. Thanks to Shiro Kawai and Issac Trotts: <a href="http://blog.practical-scheme.net/gauche/20100428-shorter-names" class="uri">http://blog.practical-scheme.net/gauche/20100428-shorter-names</a></p> <p>Thanks to Evan Hanson for the idea of using a throw-away <code>define</code> in the expansion of <code>define-record-type</code> so as not to disturb a sequence of internal definitions.</p> <p>Thanks to Vincent St-Amour, Eli Barzilay, and others in the Racket IRC channel for raising my awareness against action-at-a-distance bugs that might result from abuse of the imperative <code>register-getter-with-setter!</code>.</p> <p>Thanks also to everyone else on the discussion mailing list for their input.</p> diff --git a/srfi-123.md b/srfi-123.md @@ -26,6 +26,7 @@ You can access previous messages via the mailing list - Draft #2 published: 2015/8/16 - Draft #3 published: 2015/8/17 - Draft #4 published: 2015/8/18 + - Draft #5 published: 2015/8/23 (code changes only) Abstract