23 Backwards compatibility
This section lists the bindings that begin with drscheme: provided by the tools library; they are here for backwards compatibility and to provide links to the drracket: versions of the names.
drscheme:debug:profile-definitions-text-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:profile-definitions-text-mixin instead.
drscheme:debug:profile-tab-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:profile-tab-mixin instead.
drscheme:debug:profile-unit-frame-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:profile-unit-frame-mixin instead.
drscheme:debug:test-coverage-interactions-text-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:test-coverage-interactions-text-mixin instead.
drscheme:debug:test-coverage-definitions-text-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:test-coverage-definitions-text-mixin instead.
drscheme:debug:test-coverage-tab-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:debug:test-coverage-tab-mixin instead.
drscheme:unit:tab% : any/c
This is provided for backwards compatibility; new code should use drracket:unit:tab% instead.
drscheme:unit:frame% : any/c
This is provided for backwards compatibility; new code should use drracket:unit:frame% instead.
drscheme:unit:definitions-canvas% : any/c
This is provided for backwards compatibility; new code should use drracket:unit:definitions-canvas% instead.
drscheme:unit:get-definitions-text% : any/c
This is provided for backwards compatibility; new code should use drracket:unit:get-definitions-text% instead.
drscheme:unit:interactions-canvas% : any/c
This is provided for backwards compatibility; new code should use drracket:unit:interactions-canvas% instead.
drscheme:rep:drs-bindings-keymap-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:rep:drs-bindings-keymap-mixin instead.
drscheme:rep:text% : any/c
This is provided for backwards compatibility; new code should use drracket:rep:text% instead.
drscheme:rep:text<%> : any/c
This is provided for backwards compatibility; new code should use drracket:rep:text<%> instead.
drscheme:frame:mixin : any/c
This is provided for backwards compatibility; new code should use drracket:frame:mixin instead.
drscheme:frame:basics-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:frame:basics-mixin instead.
drscheme:language:language<%> : any/c
This is provided for backwards compatibility; new code should use drracket:language:language<%> instead.
drscheme:language:module-based-language<%> : any/c
This is provided for backwards compatibility; new code should use drracket:language:module-based-language<%> instead.
drscheme:language:simple-module-based-language<%> : any/c
This is provided for backwards compatibility; new code should use drracket:language:simple-module-based-language<%> instead.
drscheme:language:simple-module-based-language% : any/c
This is provided for backwards compatibility; new code should use drracket:language:simple-module-based-language% instead.
drscheme:language:simple-module-based-language->module-based-language-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:language:simple-module-based-language->module-based-language-mixin instead.
drscheme:language:module-based-language->language-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:language:module-based-language->language-mixin instead.
drscheme:tracing:tab-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:tracing:tab-mixin instead.
drscheme:tracing:frame-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:tracing:frame-mixin instead.
drscheme:module-language:module-language<%> : any/c
This is provided for backwards compatibility; new code should use drracket:module-language:module-language<%> instead.
drscheme:module-language-tools:frame-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:frame-mixin instead.
drscheme:module-language-tools:tab-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:tab-mixin instead.
drscheme:module-language-tools:definitions-text-mixin : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:definitions-text-mixin instead.
drscheme:frame:basics<%> : any/c
This is provided for backwards compatibility; new code should use drracket:frame:basics<%> instead.
drscheme:frame:<%> : any/c
This is provided for backwards compatibility; new code should use drracket:frame:<%> instead.
drscheme:unit:frame<%> : any/c
This is provided for backwards compatibility; new code should use drracket:unit:frame<%> instead.
drscheme:unit:definitions-text<%> : any/c
This is provided for backwards compatibility; new code should use drracket:unit:definitions-text<%> instead.
drscheme:unit:tab<%> : any/c
This is provided for backwards compatibility; new code should use drracket:unit:tab<%> instead.
drscheme:rep:context<%> : any/c
This is provided for backwards compatibility; new code should use drracket:rep:context<%> instead.
drscheme:module-language-tools:definitions-text<%> : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:definitions-text<%> instead.
drscheme:module-language-tools:tab<%> : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:tab<%> instead.
drscheme:module-language-tools:frame<%> : any/c
This is provided for backwards compatibility; new code should use drracket:module-language-tools:frame<%> instead.
drscheme:debug:error-display-handler/stacktrace :
(->* (string? any/c) ((or/c false/c (listof srcloc?)) #:definitions-text (or/c #f (is-a?/c drracket:unit:definitions-text<%>)) #:interactions-text (or/c #f (is-a?/c drracket:rep:text<%>))) any/c)
This is provided for backwards compatibility; new code should use drracket:debug:error-display-handler/stacktrace instead.
drscheme:debug:make-debug-error-display-handler :
(-> (-> string? (or/c any/c exn?) any) (-> string? (or/c any/c exn?) any))
This is provided for backwards compatibility; new code should use drracket:debug:make-debug-error-display-handler instead.
This is provided for backwards compatibility; new code should use drracket:debug:hide-backtrace-window instead.
This is provided for backwards compatibility; new code should use drracket:debug:add-prefs-panel instead.
drscheme:debug:open-and-highlight-in-file :
(->* ((or/c srcloc? (listof srcloc?))) ((or/c #f (cons/c (λ (x) (and (weak-box? x) (let ([v (weak-box-value x)]) (or (not v) (is-a?/c v editor<%>))))) number?))) void?)
This is provided for backwards compatibility; new code should use drracket:debug:open-and-highlight-in-file instead.
drscheme:debug:show-backtrace-window/edition-pairs :
(-> string? (listof srcloc?) (listof (or/c #f (cons/c (λ (x) (and (weak-box? x) (let ([v (weak-box-value x)]) (or (not v) (is-a?/c v editor<%>))))) number?))) (or/c #f (is-a?/c drracket:unit:definitions-text<%>)) (or/c #f (is-a?/c drracket:rep:text<%>)) void?)
This is provided for backwards compatibility; new code should use drracket:debug:show-backtrace-window/edition-pairs instead.
drscheme:debug:show-backtrace-window :
(->* (string? (or/c exn? (listof srcloc?) (non-empty-listof (cons/c string? (listof srcloc?))))) ((or/c #f (is-a?/c drracket:rep:text<%>)) (or/c #f (is-a?/c drracket:unit:definitions-text<%>))) void?)
This is provided for backwards compatibility; new code should use drracket:debug:show-backtrace-window instead.
drscheme:debug:srcloc->edition/pair :
(->* (srcloc? (or/c #f (is-a?/c drracket:rep:text<%>)) (or/c #f (is-a?/c drracket:unit:definitions-text<%>))) ((or/c #f (and/c hash? hash-equal?))) (or/c #f (cons/c (let ([weak-box-containing-an-editor? (λ (x) (and (weak-box? x) (let ([v (weak-box-value x)]) (or (not v) (is-a?/c v editor<%>)))))]) weak-box-containing-an-editor?) number?)))
This is provided for backwards compatibility; new code should use drracket:debug:srcloc->edition/pair instead.
drscheme:eval:set-basic-parameters :
(->* ((listof (is-a?/c snip-class%))) (#:gui-modules? boolean?) void?)
This is provided for backwards compatibility; new code should use drracket:eval:set-basic-parameters instead.
This is provided for backwards compatibility; new code should use drracket:eval:get-snip-classes instead.
drscheme:eval:expand-program :
(->* ((or/c port? drracket:language:text/pos?) drracket:language-configuration:language-settings? boolean? (-> void?) (-> void?) (-> (or/c eof-object? syntax? (cons/c string? any/c)) (-> any) any)) (#:gui-modules? boolean?) void?)
This is provided for backwards compatibility; new code should use drracket:eval:expand-program instead.
drscheme:eval:traverse-program/multiple :
(->* (drracket:language-configuration:language-settings? (-> void?) (-> void?)) (#:gui-modules? boolean?) (-> (or/c port? drracket:language:text/pos?) (-> (or/c eof-object? syntax? (cons/c string? any/c)) (-> any) any) boolean? void?))
This is provided for backwards compatibility; new code should use drracket:eval:traverse-program/multiple instead.
drscheme:eval:expand-program/multiple :
(->* (drracket:language-configuration:language-settings? boolean? (-> void?) (-> void?)) (#:gui-modules? boolean?) (-> (or/c port? drracket:language:text/pos?) (-> (or/c eof-object? syntax? (cons/c string? any/c)) (-> any) any) boolean? void?))
This is provided for backwards compatibility; new code should use drracket:eval:expand-program/multiple instead.
drscheme:eval:build-user-eventspace/custodian :
(->* (drracket:language-configuration:language-settings? (-> void?) (-> void?)) (#:gui-modules? boolean?) (values eventspace? custodian?))
This is provided for backwards compatibility; new code should use drracket:eval:build-user-eventspace/custodian instead.
drscheme:get/extend:extend-tab :
(case-> ((make-mixin-contract drracket:unit:tab<%>) . -> . void?) ((make-mixin-contract drracket:unit:tab<%>) boolean? . -> . void?))
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-tab instead.
drscheme:get/extend:extend-interactions-text :
(case-> ((make-mixin-contract drracket:rep:text<%>) . -> . void?) ((make-mixin-contract drracket:rep:text<%>) boolean? . -> . void?))
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-interactions-text instead.
This is provided for backwards compatibility; new code should use drracket:get/extend:get-interactions-text instead.
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-definitions-text instead.
drscheme:get/extend:get-definitions-text : (-> (implementation?/c drracket:unit:definitions-text<%>))
This is provided for backwards compatibility; new code should use drracket:get/extend:get-definitions-text instead.
drscheme:get/extend:extend-interactions-canvas :
(case-> ((make-mixin-contract drracket:unit:interactions-canvas%) . -> . void?) ((make-mixin-contract drracket:unit:interactions-canvas%) boolean? . -> . void?))
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-interactions-canvas instead.
This is provided for backwards compatibility; new code should use drracket:get/extend:get-interactions-canvas instead.
drscheme:get/extend:extend-definitions-canvas :
(case-> ((make-mixin-contract drracket:unit:definitions-canvas%) . -> . void?) ((make-mixin-contract drracket:unit:definitions-canvas%) boolean? . -> . void?))
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-definitions-canvas instead.
This is provided for backwards compatibility; new code should use drracket:get/extend:get-definitions-canvas instead.
drscheme:get/extend:extend-unit-frame :
(case-> ((make-mixin-contract drracket:unit:frame%) . -> . void?) ((make-mixin-contract drracket:unit:frame%) boolean? . -> . void?))
This is provided for backwards compatibility; new code should use drracket:get/extend:extend-unit-frame instead.
This is provided for backwards compatibility; new code should use drracket:get/extend:get-unit-frame instead.
drscheme:help-desk:help-desk :
(->* () ((or/c #f string?) (or/c #f string? (list/c string? string?))) any)
This is provided for backwards compatibility; new code should use drracket:help-desk:help-desk instead.
drscheme:language-configuration:get-languages : (-> (listof (is-a?/c drracket:language:language<%>)))
This is provided for backwards compatibility; new code should use drracket:language-configuration:get-languages instead.
drscheme:language-configuration:add-language :
((and/c (is-a?/c drracket:language:language<%>) drracket:language:object/c) . -> . void?)
This is provided for backwards compatibility; new code should use drracket:language-configuration:add-language instead.
This is provided for backwards compatibility; new code should use drracket:language-configuration:get-settings-preferences-symbol instead.
drscheme:language-configuration:language-settings :
((or/c (is-a?/c drracket:language:language<%>) drracket:language:object/c) any/c . -> . drracket:language-configuration:language-settings?)
This is provided for backwards compatibility; new code should use drracket:language-configuration:language-settings instead.
drscheme:language-configuration:language-settings-settings :
(-> drracket:language-configuration:language-settings? any/c)
This is provided for backwards compatibility; new code should use drracket:language-configuration:language-settings-settings instead.
drscheme:language-configuration:language-settings-language :
(drracket:language-configuration:language-settings? . -> . (or/c (is-a?/c drracket:language:language<%>) drracket:language:object/c))
This is provided for backwards compatibility; new code should use drracket:language-configuration:language-settings-language instead.
This is provided for backwards compatibility; new code should use drracket:language-configuration:language-settings? instead.
drscheme:language-configuration:language-dialog :
(->* (boolean? drracket:language-configuration:language-settings?) ((or/c false/c (is-a?/c top-level-window<%>))) (or/c false/c drracket:language-configuration:language-settings?))
This is provided for backwards compatibility; new code should use drracket:language-configuration:language-dialog instead.
drscheme:language-configuration:fill-language-dialog :
(->* ((is-a?/c vertical-panel%) (is-a?/c area-container<%>) drracket:language-configuration:language-settings?) ((or/c false/c (is-a?/c top-level-window<%>)) (-> symbol? void?)) (values (-> (is-a?/c drracket:language:language<%>)) (-> any/c) (-> any/c (is-a?/c mouse-event%) any)))
This is provided for backwards compatibility; new code should use drracket:language-configuration:fill-language-dialog instead.
drscheme:language:register-capability :
(->i ([s symbol?] [the-contract contract?] [default (the-contract) the-contract]) () [res void?])
This is provided for backwards compatibility; new code should use drracket:language:register-capability instead.
This is provided for backwards compatibility; new code should use drracket:language:capability-registered? instead.
drscheme:language:get-capability-default :
(->i ([s (and/c symbol? drracket:language:capability-registered?)]) () [res (s) (drracket:language:get-capability-contract s)])
This is provided for backwards compatibility; new code should use drracket:language:get-capability-default instead.
drscheme:language:get-capability-contract :
(-> (and/c symbol? drracket:language:capability-registered?) contract?)
This is provided for backwards compatibility; new code should use drracket:language:get-capability-contract instead.
drscheme:language:add-snip-value :
(->* ((-> any/c boolean?) (-> any/c (is-a?/c snip%))) ((-> any/c)) void?)
This is provided for backwards compatibility; new code should use drracket:language:add-snip-value instead.
drscheme:language:extend-language-interface :
(-> interface? (make-mixin-contract drracket:language:language<%>) void?)
This is provided for backwards compatibility; new code should use drracket:language:extend-language-interface instead.
This is provided for backwards compatibility; new code should use drracket:language:get-default-mixin instead.
This is provided for backwards compatibility; new code should use drracket:language:get-language-extensions instead.
drscheme:language:put-executable :
((is-a?/c top-level-window<%>) path? (or/c boolean? (symbols 'launcher 'standalone 'distribution)) boolean? string? . -> . (or/c false/c path?))
This is provided for backwards compatibility; new code should use drracket:language:put-executable instead.
drscheme:language:create-executable-gui :
((or/c false/c (is-a?/c top-level-window<%>)) (or/c false/c string?) (or/c (λ (x) (eq? x #t)) (symbols 'launcher 'standalone 'distribution)) (or/c (λ (x) (eq? x #t)) (symbols 'mzscheme 'mred)) . -> . (or/c false/c (list/c (symbols 'no-show 'launcher 'stand-alone 'distribution) (symbols 'no-show 'mred 'mzscheme) string?)))
This is provided for backwards compatibility; new code should use drracket:language:create-executable-gui instead.
drscheme:language:create-module-based-stand-alone-executable :
((or/c path? string?) (or/c path? string?) any/c any/c any/c boolean? boolean? . -> . void?)
This is provided for backwards compatibility; new code should use drracket:language:create-module-based-stand-alone-executable instead.
drscheme:language:create-module-based-distribution :
((or/c path? string?) (or/c path? string?) any/c any/c any/c boolean? boolean? . -> . void?)
This is provided for backwards compatibility; new code should use drracket:language:create-module-based-distribution instead.
drscheme:language:create-distribution-for-executable :
((or/c path? string?) boolean? (-> path? void?) . -> . void?)
This is provided for backwards compatibility; new code should use drracket:language:create-distribution-for-executable instead.
drscheme:language:create-module-based-launcher :
((or/c path? string?) (or/c path? string?) any/c any/c any/c boolean? boolean? . -> . void?)
This is provided for backwards compatibility; new code should use drracket:language:create-module-based-launcher instead.
drscheme:language:simple-module-based-language-convert-value : (-> any/c drracket:language:simple-settings? any)
This is provided for backwards compatibility; new code should use drracket:language:simple-module-based-language-convert-value instead.
drscheme:language:setup-printing-parameters : (-> (-> any) drracket:language:simple-settings? (or/c number? 'infinity) any)
This is provided for backwards compatibility; new code should use drracket:language:setup-printing-parameters instead.
This is provided for backwards compatibility; new code should use drracket:language:text/pos-text instead.
This is provided for backwards compatibility; new code should use drracket:language:text/pos-start instead.
This is provided for backwards compatibility; new code should use drracket:language:text/pos-end instead.
drscheme:language:text/pos? : (any/c . -> . boolean?)
This is provided for backwards compatibility; new code should use drracket:language:text/pos? instead.
This is provided for backwards compatibility; new code should use drracket:language:text/pos instead.
drscheme:language:make-text/pos :
((is-a?/c text%) number? number? . -> . drracket:language:text/pos?)
This is provided for backwards compatibility; new code should use drracket:language:make-text/pos instead.
drscheme:language:simple-settings-case-sensitive : (drracket:language:simple-settings? . -> . boolean?)
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-case-sensitive instead.
drscheme:language:simple-settings-printing-style :
(drracket:language:simple-settings? . -> . (symbols 'constructor 'quasiquote 'write 'trad-write 'print))
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-printing-style instead.
drscheme:language:simple-settings-fraction-style :
(drracket:language:simple-settings? . -> . (symbols 'mixed-fraction 'mixed-fraction-e 'repeating-decimal 'repeating-decimal-e))
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-fraction-style instead.
drscheme:language:simple-settings-show-sharing :
(drracket:language:simple-settings? . -> . boolean?)
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-show-sharing instead.
drscheme:language:simple-settings-insert-newlines :
(drracket:language:simple-settings? . -> . boolean?)
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-insert-newlines instead.
drscheme:language:simple-settings-annotations :
(drracket:language:simple-settings? . -> . (symbols 'none 'debug 'debug/profile 'test-coverage))
This is provided for backwards compatibility; new code should use drracket:language:simple-settings-annotations instead.
This is provided for backwards compatibility; new code should use drracket:language:simple-settings? instead.
drscheme:language:simple-settings :
(-> boolean? (symbols 'constructor 'quasiquote 'write 'trad-write 'print) (symbols 'mixed-fraction 'mixed-fraction-e 'repeating-decimal 'repeating-decimal-e) boolean? boolean? (symbols 'none 'debug 'debug/profile 'test-coverage) drracket:language:simple-settings?)
This is provided for backwards compatibility; new code should use drracket:language:simple-settings instead.
drscheme:language:make-simple-settings :
(-> boolean? (symbols 'constructor 'quasiquote 'write 'trad-write 'print) (symbols 'mixed-fraction 'mixed-fraction-e 'repeating-decimal 'repeating-decimal-e) boolean? boolean? (symbols 'none 'debug 'debug/profile 'test-coverage) drracket:language:simple-settings?)
This is provided for backwards compatibility; new code should use drracket:language:make-simple-settings instead.
This is provided for backwards compatibility; new code should use drracket:language:simple-settings->vector instead.
drscheme:modes:add-mode :
(string? (or/c false/c (is-a?/c mode:surrogate-text<%>)) ((is-a?/c drracket:rep:text%) number? . -> . boolean?) ((or/c false/c (listof string?)) . -> . boolean?) . -> . drracket:modes:mode?)
This is provided for backwards compatibility; new code should use drracket:modes:add-mode instead.
drscheme:modes:mode? : (any/c . -> . boolean?)
This is provided for backwards compatibility; new code should use drracket:modes:mode? instead.
This is provided for backwards compatibility; new code should use drracket:modes:get-modes instead.
This is provided for backwards compatibility; new code should use drracket:modes:mode-name instead.
drscheme:modes:mode-surrogate : (drracket:modes:mode? . -> . (or/c false/c (is-a?/c mode:surrogate-text<%>)))
This is provided for backwards compatibility; new code should use drracket:modes:mode-surrogate instead.
This is provided for backwards compatibility; new code should use drracket:modes:mode-repl-submit instead.
drscheme:modes:mode-matches-language : (drracket:modes:mode? . -> . ((or/c false/c (listof string?)) . -> . boolean?))
This is provided for backwards compatibility; new code should use drracket:modes:mode-matches-language instead.
drscheme:module-language-tools:add-opt-out-toolbar-button :
(-> (-> (is-a?/c top-level-window<%>) (is-a?/c area-container<%>) (is-a?/c switchable-button%)) symbol? void?)
This is provided for backwards compatibility; new code should use drracket:module-language-tools:add-opt-out-toolbar-button instead.
drscheme:module-language-tools:add-online-expansion-handler : (-> path-string? symbol? (-> (is-a?/c drracket:unit:definitions-text<%>) any/c any) void?)
This is provided for backwards compatibility; new code should use drracket:module-language-tools:add-online-expansion-handler instead.
This is provided for backwards compatibility; new code should use drracket:module-language:add-module-language instead.
drscheme:module-language:module-language-put-file-mixin : (-> (implementation?/c text:basic<%>) (implementation?/c text:basic<%>))
This is provided for backwards compatibility; new code should use drracket:module-language:module-language-put-file-mixin instead.
This is provided for backwards compatibility; new code should use drracket:rep:get-welcome-delta instead.
This is provided for backwards compatibility; new code should use drracket:rep:get-dark-green-delta instead.
This is provided for backwards compatibility; new code should use drracket:rep:get-drs-bindings-keymap instead.
This is provided for backwards compatibility; new code should use drracket:rep:current-rep instead.
This is provided for backwards compatibility; new code should use drracket:rep:current-value-port instead.
This is provided for backwards compatibility; new code should use drracket:rep:after-expression instead.
drscheme:unit:get-program-editor-mixin : (-> ((subclass?/c text%) . -> . (subclass?/c text%)))
This is provided for backwards compatibility; new code should use drracket:unit:get-program-editor-mixin instead.
drscheme:unit:add-to-program-editor-mixin : (((subclass?/c text%) . -> . (subclass?/c text%)) . -> . void?)
This is provided for backwards compatibility; new code should use drracket:unit:add-to-program-editor-mixin instead.
drscheme:unit:open-drscheme-window :
(case-> (-> (is-a?/c drracket:unit:frame%)) ((or/c string? false/c) . -> . (is-a?/c drracket:unit:frame%)))
This is provided for backwards compatibility; new code should use drracket:unit:open-drscheme-window instead.
drscheme:unit:add-search-help-desk-menu-item : (->* ((is-a?/c text%) (is-a?/c menu-item-container<%>) exact-nonnegative-integer?) ((-> any)) void?)
This is provided for backwards compatibility; new code should use drracket:unit:add-search-help-desk-menu-item instead.