Re: [Scheme-reports] Bidirectional ports and port-open? Per Bothner (01 Jul 2012 22:55 UTC)
Re: [Scheme-reports] Bidirectional ports and port-open? John Cowan (02 Jul 2012 00:01 UTC)
Re: [Scheme-reports] Bidirectional ports and port-open? Per Bothner (02 Jul 2012 00:18 UTC)

Re: [Scheme-reports] Bidirectional ports and port-open? John Cowan 02 Jul 2012 00:01 UTC

Per Bothner scripsit:

> An true bi-directional port is one where you can read a "record",
> modify it, and write it back.  If the port is seekable, the input
> and output positions are tied.

I don't see how these can both be true unless the port is indeed
seekable.  If I read, modify, and then write, the write goes after the
point read from unless I first seek back to before the read.

--
A few times, I did some exuberant stomping about,       John Cowan
like a hippo auditioning for Riverdance, though         cowan@ccil.org
I stopped when I thought I heard something at           http://ccil.org/~cowan
the far side of the room falling over in rhythm
with my feet.  --Joseph Zitt

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports