Re: help with rb-tree/update!

2022-11-19 Thread Taylor R Campbell
> Date: Sat, 19 Nov 2022 16:49:05 +0100 > From: JP de Vooght > > The function invokes apply-fail as follows (apply-fail fail > 'rb-tree/update!) but apply-fail is defined below with three arguments > (apply-fail fail key caller). > > Could it be passing the key is missing from rb-tree/update!

help with rb-tree/update!

2022-11-19 Thread JP de Vooght
Hello, I was looking into rb-tree for a multiset where I could use leafs as key counts. This is based on code by Alex Shinn which uses SRFI-146 which I had trouble using. I thought rb-tree could be useful here. I noticed from reviewing the /src/runtime/rbtree.scm an undocumented function cal