guile-srfi-123

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

commit 5ba2d3128983b980c0ed681abbd39db78e700900
parent 0fac1fd125390c7277d33973770c6f391ef73526
Author: Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
Date:   Tue, 18 Aug 2015 18:02:00 +0200

Clarify reference implementation limitation.

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

diff --git a/srfi-123.html b/srfi-123.html @@ -115,7 +115,7 @@ vec ;=&gt; #(3 1 2)</code></pre> <h2 id="considerations-when-using-as-a-library">Considerations when using as a library</h2> <p>The intent of this SRFI is to encourage Scheme systems to extend their standard library in accordance with the above specification. On the meanwhile, the reference implementation can be used as a separate library, but certain considerations apply.</p> <p>The <code>define-record-type</code> export of the library conflicts with the one in <code>(scheme base)</code>, so either has to be renamed, or more typically, the one from <code>(scheme base)</code> excluded.</p> -<p>Record types not defined with the <code>define-record-type</code> exported by this library won't work with <code>ref</code> and <code>ref*</code>.</p> +<p>Record types not defined with the <code>define-record-type</code> exported by this library won't work with <code>ref</code>, <code>ref*</code>, or their setters.</p> <h2 id="implementation">Implementation</h2> <p>A reference implementation as a library is found in the version control repository of this SRFI.</p> <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> diff --git a/srfi-123.md b/srfi-123.md @@ -267,7 +267,7 @@ in `(scheme base)`, so either has to be renamed, or more typically, the one from `(scheme base)` excluded. Record types not defined with the `define-record-type` exported by -this library won't work with `ref` and `ref*`. +this library won't work with `ref`, `ref*`, or their setters. Implementation