[Chicken-hackers] [PATCH] Add automatic randomization to remaining core hash-functions

2012-04-20 Thread Peter Bex
Hi all, Attached is a trivial patch to add the procedures number-hash, object-uid-hash, symbol-hash and keyword-hash to the procedures considered for "automatic" randomization. This means that when a user explicitly passes these procedures to MAKE-HASH-TABLE as the hashing parameter, they will be

Re: [Chicken-hackers] [PATCH] Add automatic randomization to remaining core hash-functions

2012-04-20 Thread Christian Kellermann
* Peter Bex [120420 20:32]: > Hi all, > > Attached is a trivial patch to add the procedures number-hash, > object-uid-hash, symbol-hash and keyword-hash to the procedures > considered for "automatic" randomization. Thank you, I have pushed this. -- 9 out of 10 voices in my head say, that I am c

[Chicken-hackers] [PATCH] Small types.db fixes and some notes/questions

2012-04-20 Thread Peter Bex
Hi, I've found a few numbers-related problems in the types database. The finite?, exact? and inexact? procedures were marked as being pure predicates accepting any type of input. They were also rewritten to C functions that always return a boolean value, but all three raise a type error in the int