This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: SRFI-60
- From: Per Bothner <per at bothner dot com>
- To: Jamison Hope <jrh at theptrgroup dot com>, "kawa at sourceware dot org list" <kawa at sourceware dot org>
- Date: Mon, 17 Feb 2014 23:11:57 -0800
- Subject: Re: SRFI-60
- Authentication-results: sourceware.org; auth=none
- References: <DC0C9765-32C8-41E3-8478-4AC25F94E211 at theptrgroup dot com>
On 02/17/2014 10:53 PM, Jamison Hope wrote:
I saw that SRFI-60 was almost there, so I went ahead and implemented the rest of it.
Thanks!
Since there are argument order differences compared to existing numbers.scm procedures, I figure this one should probably require an explicit require/import, so it can go in the gnu.kawa.slib package next to srfi1.scm. Even so, I wonder whether it might be a good idea to remove the builtin logbit? (which is just an alias for bitwise-set-bit? anyway).
Yes, I think we should remove the old builtin logbit? I notice Common
Lisp's
logbitp uses the (logbitp index integer) order. I suspect the (logbit?
integer index)
order is just a bug - it doesn't match any other Scheme I've found.
--
--Per Bothner
per@bothner.com http://per.bothner.com/