Move record utilities to (guix records).
authorLudovic Courtès <ludo@gnu.org>
Sun, 12 May 2013 13:46:16 +0000 (15:46 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 12 May 2013 13:46:16 +0000 (15:46 +0200)
commitc0cd1b3ea7753fe2826f7a336019000df9dea96f
treea7e376f68216dcd26eab06aea5ff529b483fea00
parent9b1ef2f3232e7af111ba05353008ebd2f8955f02
Move record utilities to (guix records).

* guix/utils.scm (define-record-type*): Move to...
* guix/records.scm: ... here.  New file.
* guix/build-system.scm, guix/packages.scm: Use it.
* guix/gnu-maintenance.scm: Likewise.
  (official-gnu-packages)[alist->record]: Remove.
* guix/scripts/substitute-binary.scm: Likewise.
  (alist->record, object->fields): Remove.
* tests/utils.scm ("define-record-type*", "define-record-type* with
  letrec* behavior", "define-record-type* & inherit",
  "define-record-type* & inherit & letrec* behavior",
  "define-record-type* & thunked", "define-record-type* & thunked &
  default", "define-record-type* & thunked & inherited"): Move to...
* tests/records.scm: ... here.  New file.
Makefile.am
guix/build-system.scm
guix/gnu-maintenance.scm
guix/packages.scm
guix/records.scm [new file with mode: 0644]
guix/scripts/substitute-binary.scm
guix/utils.scm
tests/records.scm [new file with mode: 0644]
tests/utils.scm