1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00
guile/module
Andy Wingo 849cefacf1 unify variant types and records; also make-foo instead of <foo>
* module/system/base/syntax.scm (define-record): Rework to separate the
  type and its constructor. Now (define-record (<foo> bar)) will create
  `make-foo' as the constructor, not `<foo>'. Also the constructor now
  takes either keyword or positional arguments, so that it can be used as
  the implementation of variant types as well.
  (|): Map directly to define-record instead of rolling our own thing.

* module/language/scheme/translate.scm:
* module/system/base/language.scm:
* module/system/il/compile.scm:
* module/system/il/ghil.scm:
* module/system/il/glil.scm:
* module/system/repl/common.scm:
* module/system/vm/assemble.scm:
* module/system/vm/debug.scm: Change instances of record creation to use
  the make-foo procedures instead of <foo>. Adjust module exports as
  necessary.
2008-05-03 18:32:46 +02:00
..
guile *** empty log message *** 2001-05-02 15:05:05 +00:00
language unify variant types and records; also make-foo instead of <foo> 2008-05-03 18:32:46 +02:00
slib *** empty log message *** 2001-04-16 03:43:48 +00:00
system unify variant types and records; also make-foo instead of <foo> 2008-05-03 18:32:46 +02:00
.cvsignore *** empty log message *** 2001-04-25 01:55:45 +00:00
Makefile.am *** empty log message *** 2001-04-22 02:13:48 +00:00