Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-27 Thread Thomas Chust
On Mon, 27 Aug 2018 21:23:16 +0200 ko...@upyum.com wrote: > [...] > This has been fixed in SRFI-69 0.3, hope it works fine for you now! > [...] Hello, thanks a lot, it works like a charm and allowed me to release a new version of the protocol buffers egg :-) Ciao, Thomas -- An altruist is

Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-27 Thread kooda
Hey! :) This has been fixed in SRFI-69 0.3, hope it works fine for you now! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-19 Thread Thomas Chust
On Sun, 19 Aug 2018 14:08:38 +0200 ko...@upyum.com wrote: > [...] > I checked the code and, for number types, only fixnums and flonums are > explicitely handled, other numeric types trigger an incorrect recursion. > > It seems we forgot to add support for the new numeric types to srfi-69 > when

Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-19 Thread kooda
Thomas Chust wrote: > this matters a lot: For one I have an application where it is crucial > to be able to identify if the exact same object is passed more than > once into certain functions and to be able to detect cyclic data > structures – eq? and eq?-hash are supposed to be applicable to >

Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-19 Thread Thomas Chust
On Sun, 19 Aug 2018 10:25:44 +0100 Chris Vine wrote: > On Sun, 19 Aug 2018 03:40:26 +0200 > Thomas Chust wrote: > > [...] > > Then I realized that eq?-hash simply cannot be called on certain types > > of objects: > > [...] > > $ csi > > CHICKEN > > (c) 2008-2018, The CHICKEN Team > >

Re: [Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-19 Thread Chris Vine
On Sun, 19 Aug 2018 03:40:26 +0200 Thomas Chust wrote: > Hello, > > while trying to port some code from CHICKEN 4 to CHICKEN 5 I have just > spent several hours tracking down a crash to a call of > hash-table-ref/default for a table which happened to use eq? as the > comparison function and was

[Chicken-users] Crash in SRFI-69 eq?-hash

2018-08-18 Thread Thomas Chust
Hello, while trying to port some code from CHICKEN 4 to CHICKEN 5 I have just spent several hours tracking down a crash to a call of hash-table-ref/default for a table which happened to use eq? as the comparison function and was loaded with various types of objects as keys. Then I realized that