This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: Serialization?


Ivan Toshkov <toshkov@crosswinds.net> writes:

> So, the question is: what is serializable in kawa?

This might help answer your question:

(define (serializable? obj) (instance? obj <java.io.Serializable>))

As you'll discover, closures don't claim to be serializable, but some
procedures do.

Lists claim to be serializable; of course that won't work if elements of
the list are not serializable.

I'll write up a quick really-serializable? predicate that tests an
object by serializing/deserializing it.

By the way, is this to store state in files or as "session objects"?

-- 
Bruce R. Lewis				http://brl.sourceforge.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]