Files
mercury/tests/general/io_foldl.exp
Simon Taylor 3d3e5f9411 Add io__input_stream_foldl', io__input_stream_foldl_io'
Estimated hours taken: 1

NEWS:
library/io.m:
	Add `io__input_stream_foldl', `io__input_stream_foldl_io'
	and `io__input_stream_foldl2_io', which apply a predicate
	to each character of an input stream in turn.

	Add a new result type `io__maybe_partial_res' which is
	used for operations which can return a partial result
	like io__input_stream_foldl* and io__read_file.

tests/general/io_regression.m:
extras/xml/xml.cat.m:
extras/xml/xml.parse.m:
extras/xml/tryit.m:
extras/morphine/source/coverage_util.m:
	Fix uses of io__read_file and io__read_file_as_string.

tests/general/Mmakefile:
tests/general/io_foldl.{m,exp}:
	Test case.
2002-01-22 14:21:52 +00:00

25 lines
847 B
Plaintext

First 0x20 characters of fig 1.4 in MG are
`In the beginning there was the t'.
First 0x1b characters of fig 1.4 in MG are
`In the beginning there was '.
First 0x25 characters of fig 1.4 in MG are
`In the beginning there was the text, '.
Following line should have 3, 4, 1 significant figures.
Strangly, 1.00e+01+ 10.000= 2E+01
!%0 10.5i!%0+10.5i!%0 -10.5i!%0+-10.5i!
!% 10.5i!%+10.5i!% -10.5i!%+-10.5i!
!% 10.5x!%+10.5x!% -10.5x!%+-10.5x!
!%#10.x!%#+10.x!%#-10.x!%#+-10.x!
! -00031! -00031!-00031 !-00031 !
! 00031! +00031! 00031 !+00031 !
! -00031! -00031!-00031 !-00031 !
! 00031! +00031! 00031 !+00031 !
! ffffffe1! ffffffe1!ffffffe1 !ffffffe1 !
! 0001f! 0001f!0001f !0001f !
!0xffffffe1!0xffffffe1!0xffffffe1!0xffffffe1!
! 0x1f! 0x1f!0x1f !0x1f !