diff --git a/scsh/treaps/AUTHORS b/scsh/treaps/AUTHORS index da8fee1..cb739a3 100644 --- a/scsh/treaps/AUTHORS +++ b/scsh/treaps/AUTHORS @@ -1 +1,2 @@ -Martin Gasbichler, Oleg Kiselyov +Copyright (c) 2001 Oleg Kiselyov +Copyright (c) 2003 Martin Gasbichler diff --git a/scsh/treaps/NEWS b/scsh/treaps/NEWS new file mode 100644 index 0000000..58f7916 --- /dev/null +++ b/scsh/treaps/NEWS @@ -0,0 +1,5 @@ +version 0.1 +* New package system. + +version 0.0 2001-10-26 +* Upstream from Oleg Kiselyov diff --git a/scsh/treaps/interfaces.scm b/scsh/treaps/load.scm similarity index 68% rename from scsh/treaps/interfaces.scm rename to scsh/treaps/load.scm index 9e76191..030e108 100644 --- a/scsh/treaps/interfaces.scm +++ b/scsh/treaps/load.scm @@ -7,9 +7,16 @@ treap-delete-min! treap-delete-max! treap-empty? - treap-depth + treap-depth treap-clear! - treap-put! + treap-put! treap-for-each-ascending treap-for-each-descending treap-debugprint debugprint)) + +(define-structure treaps treaps-interface + (open scheme + srfi-9 + srfi-23 + srfi-27) + (files treap)) diff --git a/scsh/treaps/packages.scm b/scsh/treaps/packages.scm deleted file mode 100644 index 53d1312..0000000 --- a/scsh/treaps/packages.scm +++ /dev/null @@ -1,6 +0,0 @@ -(define-structure treaps treaps-interface - (open scheme - srfi-9 - srfi-23 - srfi-27) - (files treap)) diff --git a/scsh/treaps/pkg-def.scm b/scsh/treaps/pkg-def.scm new file mode 100644 index 0000000..5039ca6 --- /dev/null +++ b/scsh/treaps/pkg-def.scm @@ -0,0 +1,8 @@ +(define-package "treaps" + (0 1) + () + (install-file "load.scm" 'base) + (install-file "README" 'doc) + (install-file "NEWS" 'doc) + (install-string (COPYING) "COPYING" 'doc) + (install-file "treap.scm" 'scheme))