From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thamer Al-Harbash Newsgroups: gmane.lisp.guile.devel Subject: Re: records as s-expressions Date: Thu, 16 Oct 2003 16:14:40 -0400 (EDT) Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87llrxcan4.fsf@zagadka.ping.de> <87fzhtq87a.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1066336252 8982 80.91.224.253 (16 Oct 2003 20:30:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 20:30:52 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 16 22:16:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAEYA-0005S2-00 for ; Thu, 16 Oct 2003 22:16:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAEWX-0008RW-22 for guile-devel@m.gmane.org; Thu, 16 Oct 2003 16:15:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAEWQ-0008Qt-G5 for guile-devel@gnu.org; Thu, 16 Oct 2003 16:14:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAEVu-0008Ix-Ho for guile-devel@gnu.org; Thu, 16 Oct 2003 16:14:57 -0400 Original-Received: from [216.254.175.50] (helo=helena.whitefang.com) by monty-python.gnu.org with smtp (Exim 4.24) id 1AAEVt-0008IZ-Fh for guile-devel@gnu.org; Thu, 16 Oct 2003 16:14:25 -0400 Original-Received: (qmail 12615 invoked from network); 16 Oct 2003 20:14:43 -0000 Original-Received: from helena.whitefang.com (216.254.175.50) by 0 with SMTP; 16 Oct 2003 20:14:43 -0000 X-X-Sender: shadows@helena.whitefang.com Original-To: guile-devel@gnu.org In-Reply-To: X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2884 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2884 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel