On Wed, 10 Apr 2019 at 00:44, Andrew Bernard
wrote:
> Hi Gianmaria,
>
>
>
> It’s time to stop and take stock here.
>
Thank you Andrew for your message with your suggestions (and also for the
other one with the code). Give me some time to go through it. I sincerely
appreciate your help.
Best reg
Hi Gianmaria,
Your requirement is to have a numbered list, similar to that in outlines.
Basically what you want is a counter, and this can be implemented in Lisp like
languages with a closure. A closure results from the fact that in Scheme a
function records its environment, and this include
Hi Gianmaria,
It’s time to stop and take stock here. It’s clear you have some background in
programming, but it is even more clear that you have not studied Lisp and
Scheme, except in a passing manner. The Lisp family of languages is
fundamentally different from languages like C. It takes a
Carl Sorensen writes:
> From: Gianmaria Lari
> Date: Tuesday, April 9, 2019 at 8:17 AM
> To: David Kastrup
> Cc: lilypond-user
> Subject: Re: scheme memory address
>
> I wanted to print the address of the variable x and then the address
> of the parameter lst just to
From: Gianmaria Lari
Date: Tuesday, April 9, 2019 at 8:17 AM
To: David Kastrup
Cc: lilypond-user
Subject: Re: scheme memory address
I wanted to print the address of the variable x and then the address of the
parameter lst just to show that x and lst have different address (so x is
passed
On Tue, 9 Apr 2019 at 17:07, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote:
> >
> >> Gianmaria Lari writes:
> >>
> >> > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote:
> >> >
> >> >> Gianmaria Lari writes:
> >> >>
> >> >> > Suppose I w
Gianmaria Lari writes:
> On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote:
>
>> Gianmaria Lari writes:
>>
>> > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote:
>> >
>> >> Gianmaria Lari writes:
>> >>
>> >> > Suppose I write
>> >> >
>> >> >
>> >> > #(define x '(1 2 3))
>> >> >
>> >> >
>> >> >
Hi Gianmaria,
You are trying to use Scheme as though it were C. It isn't. I'd really like
you to read the book I referred you to recently.
If you really must learn about how pointers are used underneath everything
in Scheme (and which you do not need to know about for programming,
mostly), this t
On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote:
> >
> >> Gianmaria Lari writes:
> >>
> >> > Suppose I write
> >> >
> >> >
> >> > #(define x '(1 2 3))
> >> >
> >> >
> >> > is there any way in scheme to print the
Gianmaria Lari writes:
> On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote:
>
>> Gianmaria Lari 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
On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote:
> Gianmaria Lari 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 ne
Gianmaria Lari 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
10) should usually
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)
Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gn
13 matches
Mail list logo