diff --git a/collects/mzlib/compat.ss b/collects/mzlib/compat.ss index 93ae409..38519a3 100644 --- a/collects/mzlib/compat.ss +++ b/collects/mzlib/compat.ss @@ -3,15 +3,15 @@ (require "list.ss") (provide real-time - 1+ 1- - >=? <=? >? =? <=? >? string - identity - compose - - build-string - build-vector - build-list - - loop-until - - local - recur - rec - evcase - nor - nand - let+) + boolean=? symbol=? + identity + compose + + build-string + build-vector + build-list + + loop-until + + local + recur + rec + evcase + nor + nand + let+) (define true #t) (define false #f) @@ -124,12 +123,6 @@ (if (symbol? x) y x))) (eq? x y)) - (define (char->string c) - (unless (char? c) - (raise-type-error 'char->string "character" c)) - (string c)) - - (define-syntax opt-lambda (lambda (stx) (with-syntax ([loop (or (syntax-local-name) diff --git a/collects/mzlib/list.ss b/collects/mzlib/list.ss index 4a7e8a5..15c67af 100644 --- a/collects/mzlib/list.ss +++ b/collects/mzlib/list.ss @@ -97,13 +97,6 @@ null (until (split alox null))))))) - (define ignore-errors - (polymorphic - (lambda (thunk) - (let/ec escape - (with-handlers ([not-break-exn? (lambda (x) (escape (void)))]) - (thunk)))))) - (define remove (polymorphic (letrec ([rm (case-lambda diff --git a/collects/mzlib/string.ss b/collects/mzlib/string.ss index 616ceb2..e14d4b5 100644 --- a/collects/mzlib/string.ss +++ b/collects/mzlib/string.ss @@ -1,13 +1,13 @@ (module string mzscheme (provide string-lowercase! - string-uppercase! - eval-string - read-from-string - read-from-string-all - expr->string - newline-string - regexp-match-exact?) + string-uppercase! + eval-string + read-from-string + read-from-string-all + expr->string + newline-string + regexp-match-exact?) (define make-string-do! (lambda (translate)