From 85770c3cf2328ce79f2056be5fe6df96143f7972 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 3 Sep 2013 13:16:07 -0500 Subject: [PATCH] add immutable hash constructors and selectors to #lang info --- pkgs/racket-pkgs/racket-doc/scribblings/raco/info.scrbl | 2 ++ racket/collects/setup/infotab.rkt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/raco/info.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/raco/info.scrbl index ac68dc249d..cb72825bd3 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/raco/info.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/raco/info.scrbl @@ -29,6 +29,7 @@ grammar of @racket[_info-module]: #:literals (info lib setup/infotab module define quote quasiquote cons car cdr list list* reverse append string-append path->string build-path + make-immutable-hash hash hash-set hash-set* hash-remove hash-clear hash-update collection-path system-library-subpath) [info-module (module info info-mod-path @@ -53,6 +54,7 @@ grammar of @racket[_info-module]: [info-primitive cons car cdr list list* reverse append string-append + make-immutable-hash hash hash-set hash-set* hash-remove hash-clear hash-update path->string build-path collection-path system-library-subpath] ] diff --git a/racket/collects/setup/infotab.rkt b/racket/collects/setup/infotab.rkt index 6fe3f5292c..101be5e928 100644 --- a/racket/collects/setup/infotab.rkt +++ b/racket/collects/setup/infotab.rkt @@ -62,7 +62,8 @@ #%app #%datum #%top define quote list cons car cdr quasiquote unquote unquote-splicing - list* append reverse + list* append reverse + make-immutable-hash hash hash-set hash-set* hash-remove hash-clear hash-update string-append path->string build-path collection-path system-library-subpath