]> gitweb.factorcode.org Git - factor.git/commitdiff
delegate.protocols: clean up input-stream-protocol
authorJoe Groff <arcata@gmail.com>
Sat, 15 Oct 2011 03:35:24 +0000 (20:35 -0700)
committerJoe Groff <arcata@gmail.com>
Tue, 18 Oct 2011 04:23:08 +0000 (21:23 -0700)
basis/delegate/protocols/protocols.factor

index 9abee34aa7862e5f6af394a21c234ccfbe6d47f8..c496979dc206b599fc379a799eef88290935dc3d 100644 (file)
@@ -13,9 +13,8 @@ at* assoc-size >alist set-at assoc-clone-like
 delete-at clear-assoc new-assoc assoc-like ;
 
 PROTOCOL: input-stream-protocol
-stream-read1 stream-read stream-read-partial 
-stream-read-unsafe stream-read-partial-unsafe stream-readln
-stream-read-until ;
+stream-read1 stream-read-unsafe stream-read-partial-unsafe
+stream-readln stream-read-until stream-contents ;
 
 PROTOCOL: output-stream-protocol
 stream-flush stream-write1 stream-write stream-nl ;