original commit: 5af0fe07e9d33c7dc831aee179bd8bdd02f87c43
This commit is contained in:
Matthew Flatt 2001-02-18 05:25:49 +00:00
parent 119f5cf116
commit d23c655a30
4 changed files with 33 additions and 47 deletions

View File

@ -3,15 +3,15 @@
(require "list.ss") (require "list.ss")
(provide real-time (provide real-time
1+ 1- 1+ 1-
>=? <=? >? <? =? >=? <=? >? <? =?
flush-output-port flush-output-port
sort sort
gentemp gentemp
atom? atom?
putprop getprop putprop getprop
new-cafe new-cafe
define-structure) define-structure)
(define 1+ add1) (define 1+ add1)
(define 1- sub1) (define 1- sub1)

View File

@ -4,24 +4,23 @@
(require-for-syntax (lib "kerncase.ss" "syntax")) (require-for-syntax (lib "kerncase.ss" "syntax"))
(provide true false (provide true false
boolean=? symbol=? boolean=? symbol=?
char->string identity
identity compose
compose
build-string
build-string build-vector
build-vector build-list
build-list
loop-until
loop-until
local
local recur
recur rec
rec evcase
evcase nor
nor nand
nand let+)
let+)
(define true #t) (define true #t)
(define false #f) (define false #f)
@ -124,12 +123,6 @@
(if (symbol? x) y x))) (if (symbol? x) y x)))
(eq? x y)) (eq? x y))
(define (char->string c)
(unless (char? c)
(raise-type-error 'char->string "character" c))
(string c))
(define-syntax opt-lambda (define-syntax opt-lambda
(lambda (stx) (lambda (stx)
(with-syntax ([loop (or (syntax-local-name) (with-syntax ([loop (or (syntax-local-name)

View File

@ -97,13 +97,6 @@
null null
(until (split alox 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 (define remove
(polymorphic (polymorphic
(letrec ([rm (case-lambda (letrec ([rm (case-lambda

View File

@ -1,13 +1,13 @@
(module string mzscheme (module string mzscheme
(provide string-lowercase! (provide string-lowercase!
string-uppercase! string-uppercase!
eval-string eval-string
read-from-string read-from-string
read-from-string-all read-from-string-all
expr->string expr->string
newline-string newline-string
regexp-match-exact?) regexp-match-exact?)
(define make-string-do! (define make-string-do!
(lambda (translate) (lambda (translate)