On Tue, Jun 24, 2008 at 08:26:00AM +0200, felix winkelmann wrote: > A parameter is a special kind of procedure. You access it like this: > > (tcp-read-timeout) -> <timeout-value> > (tcp-read-timeout <new-value>)
Chicken has an implementation of SRFI-39: Parameter Objects of which you can find docs at http://srfi.schemers.org/srfi-39/srfi-39.html tcp-read-timeout is a parameter. This also means you can do something like have temporary timeout values for the duration of a procedure call using: (parameterize ((tcp-read-timeout #f)) (do-something)) I hope this clears things up a bit. 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
pgpj8tPQryR3V.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users