.
original commit: 5af0fe07e9d33c7dc831aee179bd8bdd02f87c43
This commit is contained in:
parent
119f5cf116
commit
d23c655a30
|
@ -3,15 +3,15 @@
|
|||
(require "list.ss")
|
||||
|
||||
(provide real-time
|
||||
1+ 1-
|
||||
>=? <=? >? <? =?
|
||||
flush-output-port
|
||||
sort
|
||||
gentemp
|
||||
atom?
|
||||
putprop getprop
|
||||
new-cafe
|
||||
define-structure)
|
||||
1+ 1-
|
||||
>=? <=? >? <? =?
|
||||
flush-output-port
|
||||
sort
|
||||
gentemp
|
||||
atom?
|
||||
putprop getprop
|
||||
new-cafe
|
||||
define-structure)
|
||||
|
||||
(define 1+ add1)
|
||||
(define 1- sub1)
|
||||
|
|
|
@ -4,24 +4,23 @@
|
|||
(require-for-syntax (lib "kerncase.ss" "syntax"))
|
||||
|
||||
(provide true false
|
||||
boolean=? symbol=?
|
||||
char->string
|
||||
identity
|
||||
compose
|
||||
boolean=? symbol=?
|
||||
identity
|
||||
compose
|
||||
|
||||
build-string
|
||||
build-vector
|
||||
build-list
|
||||
build-string
|
||||
build-vector
|
||||
build-list
|
||||
|
||||
loop-until
|
||||
loop-until
|
||||
|
||||
local
|
||||
recur
|
||||
rec
|
||||
evcase
|
||||
nor
|
||||
nand
|
||||
let+)
|
||||
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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user