guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: records as s-expressions


From: Thamer Al-Harbash
Subject: Re: records as s-expressions
Date: Thu, 16 Oct 2003 16:14:40 -0400 (EDT)

On Thu, 16 Oct 2003, Thamer Al-Harbash wrote:

> However a problem occurs when dealing with SMOBs or types which
> (read) cannot convert properly. How is this dealt with in data
> types like arrays? If I print an array, which contains smobs or
> records, from the REPL, how is it converted back when (read) gets
> it again?

I should add that these aren't dealt with right now. Writing back
an array with a record inside of it of course results in an error
because #< is an unknown object which isn't handled.

The only way to make everything serializable is to force SMOBs to
have a read routine associated with them even if they don't do
anything to avoid errors.

-- 
Thamer Al-Harbash
GPG Key fingerprint: D7F3 1E3B F329 8DD5 FAE3  03B1 A663 E359 D686 AA1F




reply via email to

[Prev in Thread] Current Thread [Next in Thread]