Non-vector 1D arrays print as #1()
authorDaniel Llorens <daniel.llorens@bluewin.ch>
Wed, 18 Feb 2015 08:32:30 +0000 (09:32 +0100)
committerDaniel Llorens <daniel.llorens@bluewin.ch>
Wed, 18 Feb 2015 08:32:30 +0000 (09:32 +0100)
commiteb3d623da57e6d31a58d95f932345fb761f9b701
tree64e5c4e28ada352275d003340df60a16e08c7338
parentc4c21de44f0108c5721fe0991da3a050d3c12677
Non-vector 1D arrays print as #1()

* libguile/arrays.c (scm_i_print_array): Print the dimension whenever
  the array is a true scm_tc7_array.

* test-suite/tests/arrays.test: Check that non-vector 1D arrays print as
  expected.
libguile/arrays.c
test-suite/tests/arrays.test