|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] display function that shows sharing |
Date: | Tue, 8 May 2007 12:43:14 +0200 |
On 4/27/07, address@hidden <address@hidden> wrote:
Hi all. Does chicken have a function that shows sharing in s-exps? SRFI-38 can do this: > (use srfi-38) > (define a '(1 2)) > (define b (list a a)) > (write-with-shared-structure b) (#1=(1 2) #1#) The problem with SRFI-38 is that I don't want too see sharing between strings! So, is there a parameter for SRFI-38? Or is there a more adequate function in Chicken? (like display-circle in bigloo)
I have added an optional argument ("ignore-strings:" or "#:ignore-strings") to "write-with-shared-structure" (version 1.2). cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |