comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: can't understand how to move a node of a linked list to another place on the same
Date: Thu, 18 Feb 2021 16:09:57 +0100	[thread overview]
Message-ID: <s0m005$o79$1@dont-email.me> (raw)
In-Reply-To: <f3d5e634-39e4-4c60-8f28-bb111df8391dn@googlegroups.com>

On 2/18/21 1:54 PM, Mehdi Saada wrote:
> 
>     procedure insertion_X_on_place_Y (Before_X, Before_Y: in t_List) is
>        A: constant t_List := Before_X.next;
>        Y: constant t_List := Before_Y.next;
>     Begin
>        Before_X.next := Before_X.next.next;
>        X.next := Y;
>        Before_Y.next := X;
>     end insertion_X_on_place_Y;

What is X?

-- 
Jeff Carter
"I was hobbling along, minding my own business, all of a
sudden, up he comes, cures me! One minute I'm a leper with
a trade, next minute my livelihood's gone! Not so much as a
'by your leave!' You're cured, mate. Bloody do-gooder!"
Monty Python's Life of Brian
76

  reply	other threads:[~2021-02-18 15:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18  1:51 can't understand how to move a node of a linked list to another place on the same Mehdi Saada
     [not found] ` <1b206764-967c-4b1b-af9c-61a0cd0750fcn@googlegroups.com>
2021-02-18  7:06   ` Gautier write-only address
2021-02-18 12:54     ` Mehdi Saada
2021-02-18 15:09       ` Jeffrey R. Carter [this message]
2021-02-18 20:56       ` Simon Wright
2021-02-18 22:38         ` Mehdi Saada
2021-02-19  9:09           ` Simon Wright
2021-02-19 14:13             ` Mehdi Saada
2021-02-19 18:56             ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox