[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] set-file-position! only works with fixnums
From: |
Thomas Bushnell BSG |
Subject: |
Re: [Chicken-users] set-file-position! only works with fixnums |
Date: |
Wed, 30 Sep 2009 23:16:24 -0700 |
On Wed, 2009-09-30 at 17:32 -0700, Kon Lovett wrote:
> On Sep 29, 2009, at 7:55 AM, John Cowan wrote:
>
> > In the posix unit, you should be able to pass an integral flonum to
> > set-file-position! and get one back from file-position so that files
> > longer than 2^31 bytes can be handled.
>
> Thank you. It will be fixed.
I think this is a mistake, but "fixing" it is harder than it seems.
Really, this is totally non-schemey.
The criterion should be an exact integer, just as it is for arrays.
Instead of allowing inexact integers to be file positions, how about
extending the hierarchy to handle these cases directly?
- Re: [Chicken-users] set-file-position! only works with fixnums,
Thomas Bushnell BSG <=
- Re: [Chicken-users] set-file-position! only works with fixnums, John Cowan, 2009/10/01
- Re: [Chicken-users] set-file-position! only works with fixnums, Kon Lovett, 2009/10/01
- Re: [Chicken-users] set-file-position! only works with fixnums, John Cowan, 2009/10/02
- Re: [Chicken-users] set-file-position! only works with fixnums, Thomas Bushnell BSG, 2009/10/02
- Re: [Chicken-users] set-file-position! only works with fixnums, Kon Lovett, 2009/10/02
- [Chicken-users] Bignums in core, Kon Lovett, 2009/10/02
- Re: [Chicken-users] Bignums in core, John Cowan, 2009/10/03
- Re: [Chicken-users] Bignums in core, Kon Lovett, 2009/10/03
- Re: [Chicken-users] Bignums in core, John Cowan, 2009/10/04
- Re: [Chicken-users] Bignums in core, Nicholas \"Indy\" Ray, 2009/10/04