We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97f75ca + ad325ef commit 244188cCopy full SHA for 244188c
1 file changed
pixie/io.pxi
@@ -87,6 +87,10 @@
87
(instance? BufferedInputStream input-stream)
88
(-> input-stream ->LineReader)
89
90
+
91
+ (satisfies? IInputStream input-stream)
92
+ (-> input-stream (buffered-input-stream 1) ->LineReader)
93
94
:else
95
(throw [::Exception "Expected a LineReader, UTF8InputStream, or BufferedInputStream"])))
96
0 commit comments