[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile 1.7.0 and SLIB 2d2: Where is gentemp?
From: |
evi . denzstelle |
Subject: |
Guile 1.7.0 and SLIB 2d2: Where is gentemp? |
Date: |
Thu, 7 Mar 2002 15:58:17 +0100 (MET) |
Hello,
I'm very new to scheme and ran into a problem while trying to make the
following
program using SLIB 2b2 work with guile 1.7.0:
(use-modules (ice-9 slib))
(require 'metric-units)
(SI:conversion-factor "km/h" "m/s" )
The expected response would be 3.6, but instead I got the following error:
ERROR: Unbound variable: gentemp
ABORT: (unbound-variable)
After some digging around in the SLIB files, it looked to me, is if gentemp
is a
function used by few slib modules, which slib expects to be defined. I have
no
idea, whether this is a standard function or why slib expects it to be
defined.
I also found the slib file Template.scm an implementation for this function.
When I
copied the definition of gentemp from Template.scm into ice-9/slib.scm, the
above program works as expected.
Could someone, who understands how that whole thing is supposed to work,
please check out that problem and find a proper solution, which then can be
integrated into either guile or SLIB.
Thank you,
Johannes.
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
- Guile 1.7.0 and SLIB 2d2: Where is gentemp?,
evi . denzstelle <=