File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
drracket-core-lib/drracket/private
drracket-core/scribblings/tools Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 775775 (call-read-language irl
776776 'documentation-language-family
777777 (hash)))
778- (hash-ref ht " doc-language-name " default-lang-name)]
778+ (hash-ref ht ' doc-language-name default-lang-name)]
779779 [else default-lang-name]))
780780 (format (string-constant x-documentation) lang-name))
781781 (new menu-item%
787787 [callback (λ (item evt)
788788 (define irl (maybe-get-irl))
789789 (define ht (call-read-language irl 'documentation-language-family (hash)))
790- (help:help-desk #:sub (hash-ref ht " doc-path " "index.html " )
791- #:query-table (hash-ref ht " doc-query " (hash)))
790+ (help:help-desk #:sub (hash-ref ht ' doc-path "index.html " )
791+ #:query-table (hash-ref ht ' doc-query (hash)))
792792 #t )]))
793793
794794 (define (drracket-help-menu:after-about menu dlg-parent)
830830 'documentation-language-family
831831 (hash))
832832 (hash)))
833- (values (hash-ref ht " doc-query " (hash))
834- (hash-ref ht " doc-path " "index.html " ))))
833+ (values (hash-ref ht ' doc-query (hash))
834+ (hash-ref ht ' doc-path "index.html " ))))
835835
836836
837837(require (submod ". " add-racket-to-path)
Original file line number Diff line number Diff line change 247247 string?)))))]
248248 [(documentation-language-family)
249249 (hash/dc
250- [key string ?]
250+ [key symbol ?]
251251 [val (key)
252252 (case key
253- [(" doc-language-name " ) string?]
254- [(" doc-path " ) path-string?]
255- [(" doc-query " ) (hash/c string ? string? #:immutable #t )]
253+ [(doc-language-name) string?]
254+ [(doc-path) path-string?]
255+ [(doc-query) (hash/c symbol ? string? #:immutable #t )]
256256 [else any/c])]
257257 #:immutable #t )]
258258 [else
Original file line number Diff line number Diff line change @@ -591,12 +591,12 @@ find a prefix and extract the subsequent name:
591591 This is the contract:
592592 @racketblock[
593593 (hash/dc
594- [key string ?]
594+ [key symbol ?]
595595 [val (key)
596596 (case key
597- [(" doc-language-name " ) string?]
598- [(" doc-path " ) path-string?]
599- [(" doc-query " ) (hash/c string ? string? #:immutable #t )]
597+ [(doc-language-name) string?]
598+ [(doc-path) path-string?]
599+ [(doc-query) (hash/c symbol ? string? #:immutable #t )]
600600 [else any/c])]
601601 #:immutable #t )
602602 ]
You can’t perform that action at this time.
0 commit comments