remove dependency from string-constants on compatibility-lib
This commit is contained in:
parent
7b28f97123
commit
03f50815d7
|
@ -1,8 +1,7 @@
|
|||
#lang info
|
||||
|
||||
(define collection 'multi)
|
||||
(define deps '("base"
|
||||
"compatibility-lib"))
|
||||
(define deps '("base"))
|
||||
|
||||
(define pkg-desc "String constants to support internationalization, especially in DrRacket")
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
(module only-once mzscheme
|
||||
(provide maybe-print-message)
|
||||
|
||||
(define already-printed? #f)
|
||||
|
||||
(define (maybe-print-message msg)
|
||||
(unless already-printed?
|
||||
(set! already-printed? #t)
|
||||
;; the output port may no longer be there, in which case
|
||||
;; we just give up on printing
|
||||
(with-handlers ([exn:fail? (lambda (x) (void))])
|
||||
(eprintf "~a" msg)))))
|
|
@ -19,7 +19,6 @@
|
|||
racket/set
|
||||
racket/place
|
||||
syntax/stx racket/private/stx
|
||||
(only-in string-constants/private/only-once maybe-print-message)
|
||||
(only-in mzscheme make-namespace)
|
||||
(only-in racket/match/runtime match:error matchable? match-equality-test))
|
||||
"base-structs.rkt"
|
||||
|
@ -1447,8 +1446,6 @@
|
|||
|
||||
[read-accept-reader (-Param B B)]
|
||||
|
||||
[maybe-print-message (-String . -> . -Void)]
|
||||
|
||||
#|
|
||||
[sort (-poly (a b) (cl->* ((-lst a) (a a . -> . B)
|
||||
#:cache-keys? B #f
|
||||
|
|
Loading…
Reference in New Issue
Block a user