This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
"unbound location string->number"
- From: tarka at internode dot on dot net (Steve Smith)
- To: kawa at sources dot redhat dot com
- Date: Wed, 30 Aug 2006 15:45:03 +1000
- Subject: "unbound location string->number"
Hi,
I have the following 'pure' Scheme module that I intend to call from
my plugin adapter class ...
(module-name 'au.com.isay.confluence.plugins.torrent.Bencode)
(module-static #t)
;; ...
(define (bdec-int iport)
(let ((c (read-char iport))) ; Pop flag off the front
(string->number (snarf-until iport #\e))))
;; ...
This works fine in interpreted mode for unit tests, however when
compiled and called from the class I get the following error:
src/bencode.scm:28:7: unbound location string->number
Do I need to require some core namespace in this environment?
Cheers,
Steve