library/string.m:
As above.
NEWS:
Add a section for 14.01.1 news.
Mention the above change.
tests/hard_coded/string_string.{m,exp}:
Extend this test case to cover arrays and version arrays.
Estimated hours taken: 1
Branches: main, release
Fix a bug in string.string reported by Peter Ross.
library/string.m:
Bugfix: previously string.value_to_revstrings was not calling
univ_value on arguments of functors that are handled specially. This
caused spurious "univ_cons" functors to appear in the string
representations of some terms.
test/hard_coded/string_string.exp:
test/hard_coded/string_string.m:
Extended the test case for string.string to cover Peter's example.
Estimated hours taken: 0.2
Branches: main
Make string.string/1 format lists properly. Previously it used to
put univ_cons around each tail element.
library/string.m
The arguments returned from deconstruct are univs, so make
list_tail_to_revstrings expect a univ and rename to
univ_list_tail_to_revstrings.
tests/hard_coded/string_string.exp
tests/hard_coded/string_string.m
Test conversion of lists to strings.
Estimated hours taken: 4
Branches: main
Fix an infinite loop bug in string.string.
library/string.m:
Fixed a bug where string.string would go into an infinite loop when
trying to format the argument values of terms.
tests/hard_coded/Mmakefile:
tests/hard_coded/string_string.m:
tests/hard_coded/string_string.exp:
Added a test case.