[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Suggestion for the ports unit: port-pipe

From: Peter Bex
Subject: Re: [Chicken-hackers] Suggestion for the ports unit: port-pipe
Date: Mon, 9 Aug 2010 15:23:04 +0200
User-agent: Mutt/

On Mon, Aug 09, 2010 at 03:19:34PM +0200, Thomas Chust wrote:
> Hello,
> I think this would be a useful addition indeed.
> Looking at the SchemeCrossReference[1] and the PLT Racket manual[2] I
> find that Gauche, Racket, Scsh and STk all have a procedure compatible
> with the signature (copy-port source destination) where source
> satisfies input-port? and destination satisfies output-port?. If
> CHICKEN got a procedure for the same purpose, I think it would
> definitely make sense to make it compatible with this calling
> convention as well.

Isn't this what the sendfile egg does?

It currently doesn't handle custom ports as input ports, but that
could be added.

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]