SRFI 181: Custom ports
Arthur A. Gleckler
(16 Feb 2020 08:03 UTC)
|
Re: SRFI 181: Custom ports
Lassi Kortela
(16 Feb 2020 14:01 UTC)
|
Re: SRFI 181: Custom ports
Lassi Kortela
(21 Feb 2020 23:24 UTC)
|
Re: SRFI 181: Custom ports
John Cowan
(22 Feb 2020 19:19 UTC)
|
Re: SRFI 181: Custom ports Vincent Manis (17 Feb 2020 23:04 UTC)
|
Re: SRFI 181: Custom ports
John Cowan
(18 Feb 2020 17:51 UTC)
|
Re: SRFI 181: Custom ports
Arthur A. Gleckler
(18 Feb 2020 18:22 UTC)
|
Re: SRFI 181: Custom ports
John Cowan
(19 Feb 2020 12:42 UTC)
|
Re: SRFI 181: Custom ports
Arthur A. Gleckler
(19 Feb 2020 18:11 UTC)
|
Re: SRFI 181: Custom ports
Lassi Kortela
(19 Feb 2020 18:13 UTC)
|
Re: SRFI 181: Custom ports
Arthur A. Gleckler
(19 Feb 2020 18:17 UTC)
|
Re: SRFI 181: Custom ports
Lassi Kortela
(19 Feb 2020 18:30 UTC)
|
Re: SRFI 181: Custom ports
Arthur A. Gleckler
(19 Feb 2020 18:51 UTC)
|
Re: SRFI 181: Custom ports
Vincent Manis
(19 Feb 2020 22:57 UTC)
|
Re: SRFI 181: Custom ports
Jim Rees
(04 Mar 2020 12:36 UTC)
|
u8-ready? and char-ready?
Lassi Kortela
(04 Mar 2020 12:46 UTC)
|
Re: u8-ready? and char-ready?
Jim Rees
(04 Mar 2020 13:09 UTC)
|
Re: u8-ready? and char-ready?
Lassi Kortela
(04 Mar 2020 13:30 UTC)
|
Re: u8-ready? and char-ready?
Jim Rees
(04 Mar 2020 14:48 UTC)
|
Re: u8-ready? and char-ready?
Marc Feeley
(04 Mar 2020 15:07 UTC)
|
Re: u8-ready? and char-ready?
Lassi Kortela
(04 Mar 2020 15:13 UTC)
|
Re: u8-ready? and char-ready?
Marc Feeley
(04 Mar 2020 15:31 UTC)
|
Re: u8-ready? and char-ready?
Marc Nieper-Wißkirchen
(04 Mar 2020 15:39 UTC)
|
Re: u8-ready? and char-ready?
Marc Feeley
(04 Mar 2020 15:49 UTC)
|
SRFI 18 implementation status - R5RS/R7RS Schemes
Lassi Kortela
(04 Mar 2020 16:08 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Lassi Kortela
(04 Mar 2020 16:13 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Marc Feeley
(04 Mar 2020 16:18 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Lassi Kortela
(04 Mar 2020 16:26 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Lassi Kortela
(04 Mar 2020 16:28 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Marc Feeley
(04 Mar 2020 16:46 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Lassi Kortela
(04 Mar 2020 17:03 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
John Cowan
(04 Mar 2020 23:23 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Marc Feeley
(05 Mar 2020 13:08 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
John Cowan
(05 Mar 2020 20:44 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Göran Weinholt
(05 Mar 2020 22:16 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
John Cowan
(05 Mar 2020 22:22 UTC)
|
Re: SRFI 18 implementation status - R5RS/R7RS Schemes
Arthur A. Gleckler
(04 Mar 2020 19:26 UTC)
|
Re: u8-ready? and char-ready?
Lassi Kortela
(04 Mar 2020 15:07 UTC)
|
Re: u8-ready? and char-ready?
Marc Feeley
(04 Mar 2020 15:31 UTC)
|
Re: u8-ready? and char-ready?
Jim Rees
(04 Mar 2020 15:32 UTC)
|
Waiting on custom ports / CL Gray Streams
Lassi Kortela
(04 Mar 2020 15:41 UTC)
|
Re: u8-ready? and char-ready?
John Cowan
(04 Mar 2020 17:18 UTC)
|
Re: u8-ready? and char-ready?
Lassi Kortela
(04 Mar 2020 17:26 UTC)
|
Re: u8-ready? and char-ready?
Marc Feeley
(04 Mar 2020 14:55 UTC)
|
Re: SRFI 181: Custom ports
Jim Rees
(04 Mar 2020 19:31 UTC)
|
Re: SRFI 181: Custom ports
John Cowan
(05 Mar 2020 00:36 UTC)
|
Re: SRFI 181: Custom ports
Jim Rees
(05 Mar 2020 21:53 UTC)
|
Re: SRFI 181: Custom ports
John Cowan
(05 Mar 2020 22:08 UTC)
|
+1 on the SRFI. Two issues strike me. 1. [Flushed with pride] R7RS defines flush-output-port; however, the effect on that is unspecified with the current custom output port specs. In R6RS, flushing either happens according to the buffer mode, or when flush-output-port is called. R7RS does not provide buffer modes, so flush-output-port is likely to be used more frequently. It's entirely possible that a custom port might need to do something special when it is flushed (e.g., refresh a screen region). I would suggest, therefore, that a trailing optional flush argument be permitted. flush-output-port will therefore call that procedure, or do nothing (if it's omitted or #f). The semantics of flushing will of course be up to the custom port itself. (A custom port might end up calling its flush procedure from three places: in write! when line buffering, in close, and in flush. That's its problem.) 2. [Bidirectional ports] R6RS defines input/output ports, whereas R7RS doesn't. There are good reasons for eschewing them on files (the semantics of a port for randomly reading and writing a file---a practice fortunately much more common in the Long-Ago than now---are quite different from those of a port that provides input from and output to a terminal). However, custom input/output ports would still be very useful, with the issues of port semantics left to the port's designer. I'd therefore argue for their inclusion as per R6RS, either here or in a subsequent SRFI. -- vincent