Re: [ANN] CHICKEN 5.4.0 release candidate available

[email protected]
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
> The documentation of (chicken file posix) module about procedure
> 'file-select'  says: "If the optional argument TIMEOUT is given and not
> false, then it should specify the number of seconds after which the wait is
> to be aborted (the value may be a floating point number)."
> but type signature even in 5.4.0rc1 is
> "file-select ((or (list-of fixnum) fixnum false) (or (list-of fixnum)
> fixnum false) #!optional fixnum) * *))"
> ... so TIMEOUT is fixnum so user can not use rational of inexact value for
> milliseconds precision.
>  (In POSIX select TIMEOUT type is  timeval struct {tv_sec, tv_usec})
> May be is right time to correct documentation,... or file-select / type
> source code (way way preferable)

You are correct: the signature in types.db is wrong, it should be "number".
(This was wrong for quite a while - we recently updated the docs, but did
not fix the entry in types.db). I will submit a patch, thanks!


felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.