define-record-type*: Add `letrec*' behavior.
commit8fd5bd2b69b51e370144f26c01201a178c024483
authorLudovic Courtès <ludo@gnu.org>
Sun, 1 Jul 2012 15:32:03 +0000 (1 17:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 3 Jul 2012 19:59:56 +0000 (3 21:59 +0200)
tree3889c1a00d30d2c5e51286c83536ee71c5a01149
parente4c245f8a5f6b6485f980b9c4274909ee8ef567a
define-record-type*: Add `letrec*' behavior.

* guix/utils.scm (define-record-type*)[make-syntactic-constructor]: Bind
  all the ((FIELD VALUE) ...) in a `letrec*'.  Adjust `field-value'
  accordingly.

* tests/utils.scm ("define-record-type* with letrec* behavior"): New
  test.
guix/utils.scm
tests/utils.scm