lilypond-user
[Top][All Lists]
Advanced

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

Re: scheme memory address


From: David Kastrup
Subject: Re: scheme memory address
Date: Tue, 09 Apr 2019 10:45:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> writes:

> Suppose I write
>
>
> #(define x '(1 2 3))
>
>
> is there any way in scheme to print the memory address where x is pointing
> to? (where is allocated the first element of the list)

What do you need it for?  If it is for identification, (hashq x
1000000000) should usually do a reasonably good job.

-- 
David Kastrup



reply via email to

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