On Thu, Apr 18, 2019 at 09:57:20PM +0200, Peter Bex wrote:
> I've also updated file-truncate to do the same.
By the way, you may notice when I updated its type I added only
output-port; after a few tests it seems only files opened for
writing can be truncated (and the manual confirms this).
Hi all,
Attached is a more complete patch for #1609; we forgot to update
types.db entries for the various file "stat"ing procedures in
(chicken file posix), they now accept a port as well as string or
fixnum.
Please note that the patch attached to #1609 is incomplete; it
only updates the entry
On Thu, Apr 11, 2019 at 03:06:07PM +0200, ko...@upyum.com wrote:
> Peter Bex wrote:
> > Here's a relatively straightforward patch, which fixes #1581 as we
> > discussed at SaarCHICKEN.
>
> Please don’t apply this patch.
>
> The conclusion we arrived to, at SaarCHICKEN, was that the user of such
Hi guys,
I came across this post[1] and could not resist writing something like it
in CHICKEN:
(import srfi-4 (chicken fixnum) (chicken flonum))
(let* ((size (* 3200))
(v (make-f64vector size)))
(time
(do ((i 0 (fx+ i 1))
(sum 0.0 (fp+ sum (f64vector-ref v i