mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
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.
19 lines
381 B
XML
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
|