From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Creating recursive customization types / widgets
Date: Tue, 02 Dec 2003 11:40:57 +0100 [thread overview]
Message-ID: <rjekvno62u.fsf@sheridan.dina.kvl.dk> (raw)
In-Reply-To: 87smk4oyai.fsf@mail.jurta.org
Juri Linkov <juri@jurta.org> writes:
> BTW, adding new nodes to a tree in this new widget is easy,
> but I can't find a way to delete a node. Is it possible?
I don't understand the question. Are you speaking of the 'child'
widget, or the 'binary-tree-of-string' example?
If the later, then you can't delete or add a single node in binary
tree. If you do, the tree is no longer binary. Binary trees always
have an odd number of nodes. You can add two nodes by converting a
leaf node to an interior node, and you can delete two subtrees by
converting an interior node to a leaf node.
next prev parent reply other threads:[~2003-12-02 10:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-29 16:38 Creating recursive customization types / widgets Per Abrahamsen
2003-11-29 18:34 ` Per Abrahamsen
2003-11-30 20:05 ` Stefan Monnier
2003-12-01 11:36 ` Per Abrahamsen
2003-12-01 16:35 ` Thien-Thi Nguyen
2003-12-02 12:37 ` tapsellferrier.co.uk Host name lookup failure Robert J. Chassell
2003-12-01 17:08 ` Creating recursive customization types / widgets Per Abrahamsen
2003-12-02 0:31 ` Juri Linkov
2003-12-02 10:19 ` Per Abrahamsen
2003-12-02 12:46 ` David Kastrup
2003-12-02 13:34 ` Per Abrahamsen
2003-12-02 10:40 ` Per Abrahamsen [this message]
2003-12-01 13:36 ` Per Abrahamsen
2003-12-01 16:10 ` Ted Zlatanov
2003-12-01 19:24 ` Per Abrahamsen
2003-12-01 1:45 ` Richard Stallman
2003-12-01 13:27 ` Per Abrahamsen
2003-12-02 4:17 ` Richard Stallman
2003-12-02 10:31 ` Per Abrahamsen
2003-12-03 4:46 ` Richard Stallman
2003-12-03 12:30 ` Per Abrahamsen
2003-12-03 15:26 ` Per Abrahamsen
2003-12-03 19:05 ` Kevin Rodgers
2003-12-02 11:24 ` David Kastrup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rjekvno62u.fsf@sheridan.dina.kvl.dk \
--to=abraham@dina.kvl.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).