File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
read_term_from_chars /3,
16
16
write_term_to_chars /3,
17
17
chars_base64 /3,
18
- chars_to_stream /1,
18
+ char_stream /1,
19
19
chars_to_stream /2,
20
20
chars_to_stream /3,
21
21
put_chars /2]).
Original file line number Diff line number Diff line change 8
8
9
9
10
10
test ("can create string char stream" ,
11
- ( chars_to_stream (Stream ),
11
+ ( char_stream (Stream ),
12
12
put_char(Stream , a ),
13
13
get_char(Stream , C ),
14
14
C =a
17
17
18
18
test ("can spell simple word with char stream" ,
19
19
(
20
- chars_to_stream (Stream ),
20
+ char_stream (Stream ),
21
21
put_char(Stream , c ),
22
22
put_char(Stream , a ),
23
23
put_char(Stream , t ),
27
27
28
28
test ("can read from and write to char stream" ,
29
29
(
30
- chars_to_stream (Stream ),
30
+ char_stream (Stream ),
31
31
put_char(Stream , c ),
32
32
put_char(Stream , a ),
33
33
get_char(Stream , _C ),
You can’t perform that action at this time.
0 commit comments