From: "Kovacsics Róbert" <kovirobi@gmail.com>
To: Marko Rauhamaa <marko@pacujo.net>
Cc: Guile User Mailing List <guile-user@gnu.org>
Subject: Re: Self balancing trees
Date: Tue, 22 Aug 2017 10:33:51 +0100 [thread overview]
Message-ID: <CABPkNK=WUQmoMev8Gh8PEVUBV_ZzQfi=_WQO0TxV_UPYfNbo+w@mail.gmail.com> (raw)
In-Reply-To: <87fuckw5bd.fsf@elektro.pacujo.net>
Sorry Marko, I didn't hit reply all, so re-sending for the benefit of the list.
I'd just like to point out
https://wiki.rice.edu/confluence/download/attachments/2761212/Okasaki-Red-Black.pdf
for the simplicity of it's Red-Black tree implementation. Granted, it
uses Haskell, but you could implement it similarly simply as Guile has
pattern-matching too with (ice-9 match). Also, it hasn't got a delete
operation, that would be more messy.
next prev parent reply other threads:[~2017-08-22 9:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-22 2:52 Self balancing trees Christopher Howard
2017-08-22 4:31 ` Marko Rauhamaa
2017-08-22 5:07 ` Christopher Howard
2017-08-22 5:16 ` Marko Rauhamaa
2017-08-22 9:33 ` Kovacsics Róbert [this message]
2017-08-23 4:00 ` Nala Ginrut
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABPkNK=WUQmoMev8Gh8PEVUBV_ZzQfi=_WQO0TxV_UPYfNbo+w@mail.gmail.com' \
--to=kovirobi@gmail.com \
--cc=guile-user@gnu.org \
--cc=marko@pacujo.net \
/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.
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).