Re: New draft (#3) and last call for comments on SRFI 181: Custom ports
Marc Nieper-WiÃkirchen 21 Apr 2020 07:34 UTC
Am Di., 21. Apr. 2020 um 09:24 Uhr schrieb Shiro Kawai <xxxxxx@gmail.com>:
>
> On Mon, Apr 20, 2020 at 7:25 AM Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de> wrote:
>>
>>
>> The more I think about it, the better I like the idea to delegate this
>> functionality to the port, at least insofar the implementation is
>> concerned. Every textual input port could have an internal "read"
>> method (in the OOP sense), every textual output port an internal
>> "write" method.
>
>
> You mean, read-char and write-char, correct?
No, I mean `read' and `write'. Note that these are not user-visible
methods but that they are an implementation-detail. The user-visible
`read' and `write' is simply a dispatcher.