Hello, all. I've recently ported my scheme application to Ikarus
(love it!) and have a question.
I'm interested in serializing a complex structure which consists of
all sorts of functions, lists, strings and numbers. I've defined
serialize and deserialize using the same code found in scheme/tests/
fasl.ss.
When I attempt to serialize my structure, it gives the following
error:
> (serialize foodata)
Unhandled exception
Condition components:
1. &assertion
2. &who: fasl-write
3. &message: "Cannot write a non-thunk procedure; the one given has
free vars"
4. &irritants: (2)
I imagine this is NOT an error in Ikarus, but rather an error in my
thinking.
Could someone help me understand what generates this sort of error?
For example, the FASL system is quite happy to serialize the
following:
> (serialize (lambda(x) x))
which also appears to have "free vars." So I'm not sure what that
means, or how to best fix it.
Any help would be appreciated. Thanks!
-- David
P.S. What does FASL stand for, anyway? :)