gexp: Gracefully handle printing of gexps with spliced references.
authorLudovic Courtès <ludo@gnu.org>
Thu, 17 Jul 2014 13:40:06 +0000 (15:40 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 17 Jul 2014 13:40:06 +0000 (15:40 +0200)
commit2cf0ea0dbbd5a43a62dadb81948ee29898585dd7
tree742b2ea6f4f270f93dd1f0b2acda4ba14a5f806d
parent8aaaae38a37f806a62284c6bce116586d8b66b87
gexp: Gracefully handle printing of gexps with spliced references.

* guix/gexp.scm (write-gexp): Wrap 'write' call in
  'false-if-exception'.
* tests/gexp.scm ("printer", "printer vs. ungexp-splicing"): New tests.
guix/gexp.scm
tests/gexp.scm