remove dependency from string-constants on compatibility-lib

This commit is contained in:
Robby Findler 2013-09-13 12:04:08 -05:00
parent 7b28f97123
commit 03f50815d7
3 changed files with 1 additions and 17 deletions

View File

@ -1,8 +1,7 @@
#lang info #lang info
(define collection 'multi) (define collection 'multi)
(define deps '("base" (define deps '("base"))
"compatibility-lib"))
(define pkg-desc "String constants to support internationalization, especially in DrRacket") (define pkg-desc "String constants to support internationalization, especially in DrRacket")

View File

@ -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)))))

View File

@ -19,7 +19,6 @@
racket/set racket/set
racket/place racket/place
syntax/stx racket/private/stx syntax/stx racket/private/stx
(only-in string-constants/private/only-once maybe-print-message)
(only-in mzscheme make-namespace) (only-in mzscheme make-namespace)
(only-in racket/match/runtime match:error matchable? match-equality-test)) (only-in racket/match/runtime match:error matchable? match-equality-test))
"base-structs.rkt" "base-structs.rkt"
@ -1447,8 +1446,6 @@
[read-accept-reader (-Param B B)] [read-accept-reader (-Param B B)]
[maybe-print-message (-String . -> . -Void)]
#| #|
[sort (-poly (a b) (cl->* ((-lst a) (a a . -> . B) [sort (-poly (a b) (cl->* ((-lst a) (a a . -> . B)
#:cache-keys? B #f #:cache-keys? B #f