2 ms·
> I wonder if they also tried adding more standard streams Common Lisp standardises a whole bunch of different streams (their names begin & end with asterisks,
by eadmund 7y ago
> I wonder if they also tried adding more standard streams
Common Lisp standardises a whole bunch of different streams (their names begin & end with asterisks, but I don't think that there's a way for HN to escape those):
- standard-input: probably what you think it is
- standard-output: ditto
- error-output: what a Unix user might call standard-error …
- query-io: a bidirectional stream, used for questions & answers asked of the user interactively
- debug-io: another bidirectional stream, used for debugging
- trace-output: used for print function traces & timing information
- terminal-io: a bidirectional stream representing the terminal itself
Yeah, like a lot of Common Lisp it's overengineered, but there are some intriguing possibilities in there, too.