1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00
guile/module
Mark H Weaver 92fac8c056 Improve error for set-fields paths leading to different types.
* module/system/base/ck.scm: New module.

* module/srfi/srfi-9.scm: Import (system base ck).

  (getter-type, getter-index, getter-copier): Convert incoming argument
  convention to CK form.

  (define-tagged-inlinable): Convert return value convention for key
  lookup to CK form.

* module/srfi/srfi-9/gnu.scm: Import (system base ck).
  Rename '%set-fields-unknown-getter' to 'unknown-getter'.

  (c-list, c-same-type-check): New macros.

  (%set-fields): Using the CK abstract machine, arrange to check (at
  macro expansion time) that all of the getters in head position
  correspond to the same record type.

* test-suite/tests/srfi-9.test: Add test.
2012-11-10 01:37:20 -05:00
..
ice-9 Fix record constructor in getopt-long. 2012-11-08 21:53:36 -05:00
language Simplify calls to 'eqv?' when one argument is an immediate constant. 2012-10-08 11:56:10 -04:00
oop fix goops compilation when current language is not scheme 2012-07-05 10:15:02 +02:00
rnrs Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Improve error for set-fields paths leading to different types. 2012-11-10 01:37:20 -05:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system Improve error for set-fields paths leading to different types. 2012-11-10 01:37:20 -05:00
texinfo docbook->texi fix 2012-05-08 16:03:54 +02:00
web web: Fix possible file descriptor leak in `open-socket-for-uri'. 2012-10-13 21:13:10 +02:00
Makefile.am Fix @ and @@ to not capture lexicals; new @@ @@ form for R6RS libraries 2012-07-06 20:12:50 +02:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more robust texinfo alias handling 2012-08-25 14:11:45 +02:00