packages.scm 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. ;;; Package defs for the Scheme Underground sorting package,
  2. ;;; in the Scheme 48 module language.
  3. ;;; This code is
  4. ;;; Copyright (c) 1998 by Olin Shivers.
  5. ;;; The terms are: You may do as you please with this code, as long as
  6. ;;; you do not delete this notice or hold me responsible for any outcome
  7. ;;; related to its use.
  8. ;;;
  9. ;;; Blah blah blah. Don't you think source files should contain more lines
  10. ;;; of code than copyright notice?
  11. ;;; The general sort package:
  12. (define-structure sorting sorting-interface
  13. (open scheme
  14. list-merge-sort
  15. vector-heap-sort
  16. vector-merge-sort
  17. vector-quick-sort
  18. sorted
  19. delete-neighbor-duplicates)
  20. (files sort)
  21. (optimize auto-integrate))
  22. (define-structure sorted sorted-interface
  23. (open scheme
  24. vector-utils)
  25. (files sortp)
  26. (optimize auto-integrate))
  27. (define-structure delete-neighbor-duplicates delete-neighbor-duplicates-interface
  28. (open scheme
  29. vector-utils)
  30. (files delndups)
  31. (optimize auto-integrate))
  32. (define-structure binary-searches binary-searches-interface
  33. (open scheme
  34. vector-utils)
  35. (files vbinsearch))
  36. (define-structure list-merge-sort list-merge-sort-interface
  37. (open scheme
  38. (subset exceptions (assertion-violation)))
  39. (files lmsort)
  40. (optimize auto-integrate))
  41. (define-structure vector-merge-sort vector-merge-sort-interface
  42. (open scheme
  43. vector-utils
  44. vector-insertion-sort-internal)
  45. (files vmsort)
  46. (optimize auto-integrate))
  47. (define-structure vector-heap-sort vector-heap-sort-interface
  48. (open scheme
  49. vector-utils)
  50. (files vhsort)
  51. (optimize auto-integrate))
  52. (define-structures ((vector-insertion-sort vector-insertion-sort-interface)
  53. (vector-insertion-sort-internal
  54. vector-insertion-sort-internal-interface))
  55. (open scheme
  56. vector-utils)
  57. (files visort)
  58. (optimize auto-integrate))
  59. (define-structure vector-quick-sort vector-quick-sort-interface
  60. (open scheme
  61. vector-utils
  62. vector-insertion-sort-internal)
  63. (files vqsort2))
  64. (define-structure vector-quick-sort3 vector-quick-sort3-interface
  65. (open scheme
  66. vector-utils
  67. vector-insertion-sort-internal)
  68. (files vqsort3))
  69. (define-structure vector-utils (export vector-copy
  70. vector-portion-copy
  71. vector-portion-copy!
  72. vector-start+end
  73. vectors-start+end-2)
  74. (open scheme)
  75. (files vector-util))