Skip to content

Commit e98dc8a

Browse files
author
james.j.tolton@toltontechnology.ai
committed
chars_to_stream/1 should be char_stream/1
1 parent f3d5d8c commit e98dc8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/charsio.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
read_term_from_chars/3,
1616
write_term_to_chars/3,
1717
chars_base64/3,
18-
chars_to_stream/1,
18+
char_stream/1,
1919
chars_to_stream/2,
2020
chars_to_stream/3,
2121
put_chars/2]).

src/tests/charsio.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
test("can create string char stream",
11-
( chars_to_stream(Stream),
11+
( char_stream(Stream),
1212
put_char(Stream, a),
1313
get_char(Stream, C),
1414
C=a
@@ -17,7 +17,7 @@
1717

1818
test("can spell simple word with char stream",
1919
(
20-
chars_to_stream(Stream),
20+
char_stream(Stream),
2121
put_char(Stream, c),
2222
put_char(Stream, a),
2323
put_char(Stream, t),
@@ -27,7 +27,7 @@
2727

2828
test("can read from and write to char stream",
2929
(
30-
chars_to_stream(Stream),
30+
char_stream(Stream),
3131
put_char(Stream, c),
3232
put_char(Stream, a),
3333
get_char(Stream, _C),

0 commit comments

Comments
 (0)