Kevin Ryde <[EMAIL PROTECTED]> writes:

> Adding an arg to scm_primitive_load (if that's the question here),
> would be very bad, since that function is described in the manual.

Good point.  I think my statement stands that binary compatibility is
not required, but adding an arg to scm_primitive_load would break both
binary and source compatibility, and we _do_ want to preserve source
compatibility.

So yes, the signature of scm_primitive_load has to stay as it is.

That doesn't mean we have to duplicate code, though.  We could move
the code into scm_primitive_load_with_reader, and change
scm_primitive_load to call that.

Another detail that needs thought is whether any of the stack of load
procedures defined in r4rs.scm and boot-9.scm (load-from-path, load
and load-module) need enhancing to take a reader arg.

     Neil



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to