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. Cheers, Peter -- http://sjamaan.ath.cx -- "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 _______________________________________________ Chicken-hackers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-hackers
