guile-user
[Top][All Lists]
Advanced

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

avltrees


From: klaus schilling
Subject: avltrees
Date: Mon, 3 Oct 2005 11:33:56 +0200

while there seems to be some project out there for providing a
C-level module for avl trees in guile, I use an adaptation of
Bevans' avl-tree package for the guile module system.

Would it be a good thing to provide AVL trees (also) as a goops 
class rather than in procedural manner? Then there should be
reasonable generic functions that may also be used by other
data structure implementation.
Often enough, one starts out with associative lists and only 
switches to other structures when things become too large, and
in this case, as few as possible necessary alterations of the code
are desirable.

procedure-with-setter may help to provide for such a unification
even without oo, albeit restricted to storage and retrieval.

Klaus Schilling




reply via email to

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