Files
mercury/tests/hard_coded/string_builder_test.exp
Ian MacLarty a2f2b40851 Move the string builder stream from extras to the standard library.
Estimated hours taken: 0.5
Branches: main.

Move the string builder stream from extras to the standard library.

library/string.builder.m:
	Move stream_util.string_builder to string.builder.

	Use builtin.copy instead of unsafe_promise_unique in the implementation
	of put/4 for the string builder stream.

library/string.m:
	Include string.builder.

tests/hard_coded/Mmakefile:
tests/hard_coded/string_builder_test.exp:
tests/hard_coded/string_builder_test.m:
	Add a test case.

extras/Mmakefile:
extras/README:
extras/stream/Mmakefile:
extras/stream/README:
extras/stream/impure.m:
extras/stream/lowlevel.m:
extras/stream/stream_old.m:
extras/stream/stream_util.m:
extras/stream/stream_util.string_builder.m:
extras/stream/tests/Makefile:
extras/stream/tests/stream_util_test.exp:
extras/stream/tests/stream_util_test.m:
	Completely remove the streams modules from extras.  These modules
	are all deprecated now.
2007-04-20 05:18:40 +00:00

19 lines
381 B
XML

Hello, world!
<?xml version="1.0"?>
<List functor="[|]" type="list.list(int)" arity="2">
<Int type="int">1</Int>
<List functor="[|]" type="list.list(int)" arity="2">
<Int type="int">2</Int>
<List functor="[|]" type="list.list(int)" arity="2">
<Int type="int">3</Int>
<Nil functor="[]" type="list.list(int)" arity="0" />
</List>
</List>
</List>
[
4,
5,
6]
3.14