← Архив: Common Lisp

two-way-stream & echo-stream

Author: · 03.02.2011 21:36
· original author: allchemist
В чем разница между ними?Из гиперспека:
> A two-way stream bidirectional composite stream that receives its input from an associated input stream and sends its output to an associated output stream.
> An echo stream is a bidirectional stream that gets its input from an associated input stream and sends its output to an associated output stream
То есть разница только в том, что двунаправленный поток является составным.
А какой в этом понт и зачем нужно столько сущностей, если по они сути делают одно и то же?
· original author: elyadow
two-way-stream не повторяет ввод на вывод
· original author: Love5an
two-way-stream: ^ | | V echo-stream: ^ | | V ^ / \__/
· original author: allchemist
Теперь дошло, всем спасибо :) 
Наверно, правильнее даже так будет:
^ V | | two-way-stream | | ^ V ^ V | | echo-stream | | ^ V \___/