Sunnan wrote:
Thanks, I guess I was stressed, and forgot that unknown macros can
already be defined. The error message just looked so weird.
I was pretty sleep-deprived at the time.
I hadn't looked at srfi-31 before. I thought I knew most of the srfis.
This one was pretty disappointing.
I too am suffering from very slow hash tables. I'm brand-new to
chicken (although not to scheme) so it's possible that I'm doing
something wrong.
The gist of the problem is: I'm using bignums (from the numbers)
extension as the hash table key; I created the table with
(make-hash-table =); I'm
On Mon, 2005-12-05 at 23:54 +0100, Jens Axel Søgaard wrote:
Sunnan wrote:
;; instead of:
(let f ((n (...)))
(if (zero? n) 1
(* n (f (- n 1)
;; it's the exact same number of characters!
Almost - note that REC returns the recursive
function, so you need to return the