1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00
guile/module
Mark H Weaver f31a076232 Improve error messages for invalid record definitions.
* module/srfi/srfi-9.scm (%define-record-type): Accept additional 'form'
  parameter which contains the original form of 'define-record-type' or
  'define-immutable-record-type'.  Add elaborate pattern guard which
  raises descriptive syntax errors for specific errors, and a fallback
  pattern to catch anything else.
  (define-record-type): Pass 'form' parameter to %define-record-type.

* module/srfi/srfi-9/gnu.scm (define-immutable-record-type): Pass 'form'
  parameter to %define-record-type.

* test-suite/tests/srfi-9.test: Add tests.
2012-11-09 23:05:42 -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 messages for invalid record definitions. 2012-11-09 23:05:42 -05:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system Don't stat(2) and access(2) the .go location before using it. 2012-09-11 23:44:59 +02: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