binary vs non-binary ports
Per Bothner
(16 Sep 2004 04:51 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 05:34 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(16 Sep 2004 06:54 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 07:26 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(16 Sep 2004 08:30 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 03:43 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 05:32 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(17 Sep 2004 17:22 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(17 Sep 2004 20:44 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 21:26 UTC)
|
Re: binary vs non-binary ports Alex Shinn (18 Sep 2004 02:15 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 16:31 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 17:43 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 19:51 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(18 Sep 2004 18:04 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 19:21 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(20 Sep 2004 02:06 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(20 Sep 2004 02:46 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(18 Sep 2004 02:21 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 20:04 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 21:37 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:40 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:48 UTC)
|
At Fri, 17 Sep 2004 23:26:50 +0200, Hans Oesterholt-Dijkema wrote: > > Dear SRFI-56 members, > > > If people wish to have the means of ensuring a binary port in > > portable way, I'd rather have open-binary-{input|output}-file, > > which can be easily implemented on both (a) implementations that > > doesn't distinguish binary/character port, and (b) implementations > > that requires binary/character distinction at port creation. > > I have a different opinion about this open-binary-input|output-file. > > What about the following existing constructs: > > open-input|output-string > open-input|output-cstring (bigloo) > open-input|output-pipe > open-input|output-socket > (values input-port output-port) run-process command (mzscheme?) The latter or similar exist in many Schemes but not in R5RS so we can't say much about them. Whatever solution we come up with for file ports we may apply to string ports as well. > The functions in SFRI-56 are saying enough about the binary > character of the primitives. > > I think, one should not interfere with the creative process of > software engineers by limiting the possibilities of the language > at hand. While I agree with you, the SRFI process is about increasing portability, so I'd like to accomodate the major Scheme implementations as much as possible. None of the compromises we are looking at would require port types to be disjoint so an implementor is free to ignore the distinction if they choose. -- Alex