summaryrefslogtreecommitdiffstats
path: root/srfi/default-impl.scm
diff options
context:
space:
mode:
authorGravatar Arvydas Silanskas 2021-11-11 20:09:12 +0200
committerGravatar Arvydas Silanskas 2021-11-11 20:09:12 +0200
commitf1b1e37b57ff1ecf1e7dd18dbb9204c402edf3c2 (patch)
treed9c2e182d0bdbe1790afdf693f15b4adf23720a6 /srfi/default-impl.scm
parentMerge remote-tracking branch 'arvyy/master' (diff)
remove min-key, max-key, plist; add dependencies list to html
Diffstat (limited to 'srfi/default-impl.scm')
-rw-r--r--srfi/default-impl.scm23
1 files changed, 0 insertions, 23 deletions
diff --git a/srfi/default-impl.scm b/srfi/default-impl.scm
index d5bfdec..72c1f7f 100644
--- a/srfi/default-impl.scm
+++ b/srfi/default-impl.scm
@@ -74,27 +74,6 @@
(lambda () default)
(lambda (x) x)))
- (define (default-dict-find-key dtd dict cmp-proc)
- (define cmp (dict-comparator dtd dict))
- (define keys (dict-keys dtd dict))
- (when (not cmp)
- (raise (dictionary-error "dictionary doesn't have comparator")))
- (when (null? keys)
- (error "Cannot find min/max key in empty dictionary"))
- (let loop ((best (car keys))
- (keys (cdr keys)))
- (cond
- ((null? keys) best)
- ((cmp-proc cmp (car keys) best)
- (loop (car keys) (cdr keys)))
- (else (loop best (cdr keys))))))
-
- (define (default-dict-min-key dtd dict)
- (default-dict-find-key dtd dict <?))
-
- (define (default-dict-max-key dtd dict)
- (default-dict-find-key dtd dict >?))
-
;; private
(define (default-dict-set* dtd dictionary use-old? objs)
(let loop ((objs objs)
@@ -387,8 +366,6 @@
dict-mutable?-id default-dict-mutable?
dict-ref-id default-dict-ref
dict-ref/default-id default-dict-ref/default
- dict-min-key-id default-dict-min-key
- dict-max-key-id default-dict-max-key
dict-set-id default-dict-set
dict-adjoin-id default-dict-adjoin
dict-delete-id default-dict-delete
mp;d=retro' width='13' height='13' alt='Gravatar' /> John Cowan 1-2/+4 2021-07-26dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-26DTO to DTDGravatar John Cowan 1-55/+52 2021-07-26typoGravatar John Cowan 1-1/+1 2021-07-26switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-26errorsGravatar John Cowan 1-1/+4 2021-07-26more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-26update preview linkGravatar John Cowan 1-1/+1 2021-07-26MN-W reviewGravatar John Cowan 1-6/+6 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-25exceptionsGravatar John Cowan 1-1/+15 2021-07-25new exampleGravatar John Cowan 1-1/+4 2021-07-25updatesGravatar John Cowan 1-2/+4 2021-07-24dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-23DTO to DTDGravatar John Cowan 1-55/+52 2021-07-22typoGravatar John Cowan 1-1/+1 2021-07-22switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-22errorsGravatar John Cowan 1-1/+4 2021-07-22more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-20update preview linkGravatar John Cowan 1-1/+1 2021-07-20MN-W reviewGravatar John Cowan 1-6/+6 2021-07-18Fix typo.Gravatar Arthur A. Gleckler 2-4/+4 2021-07-18Add <p> around abstract.Gravatar Arthur A. Gleckler 1-2/+2 2021-07-18Publish first draft.draft-1Gravatar Arthur A. Gleckler 3-0/+114 2021-07-18Ignore trailing whitespace.Gravatar Arthur A. Gleckler 11-129/+129 2021-07-18Ignore "Dictionaries.log".Gravatar Arthur A. Gleckler 1-1/+2 2021-07-18Fix errors reported by W3C HTML Validator.Gravatar Arthur A. Gleckler 1-27/+27 2021-07-18Eliminate unnecessary redirect by using TLS/SSL.Gravatar Arthur A. Gleckler 1-1/+1