primitive-load returns the value(s) of the last expression
authorAndy Wingo <wingo@pobox.com>
Mon, 9 Jan 2012 15:07:46 +0000 (16:07 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 9 Jan 2012 15:15:00 +0000 (16:15 +0100)
commit017eb4a6be938c50df7fe6a27ca38486e75e02d5
tree7f9815fca5b602ca132598fc7f7ff9793ea8f44d
parent9858e529621193222a28b7ee0e53a428aa007363
primitive-load returns the value(s) of the last expression

* libguile/load.c (scm_primitive_load): Return the values yielded from
  evaluating the last expression in the file.

* test-suite/tests/load.test ("return value of `load'"): Add tests.
libguile/load.c
test-suite/tests/load.test