changed get-lib-dirs to get-lib-search-dirs (#2625)

* changed get-lib-dirs to get-lib-search-dirs

@racket[get-lib-dirs] does not exist -replaced with get-lib-search-dirs
https://docs.racket-lang.org/search/index.html?q=get-lib-

https://docs.racket-lang.org/raco/dirs.html?q=get-lib-dirs#%28def._%28%28lib._setup%2Fdirs..rkt%29._get-lib-search-dirs%29%29

* Update libs.scrbl

corrected

* Update libs.scrbl

removed misconception
edited for clarity

* typo

* clarity
This commit is contained in:
Stephen De Gabrielle 2019-11-03 01:41:39 +00:00 committed by Ben Greenman
parent eb20dc4463
commit c19e7b65cf

View File

@ -64,7 +64,8 @@ process:
@itemlist[ @itemlist[
@item{If @racket[path] is not an absolute path, look in each @item{If @racket[path] is not an absolute path, look in each
directory reported by @racket[get-lib-dirs]. In each directories specified by the optional @racket[#:get-lib-dirs] keyword
(which defaults to @racket[get-lib-search-dirs]). In each
directory, try @racket[path] with the first version in directory, try @racket[path] with the first version in
@racket[version], adding a suitable suffix if @racket[path] @racket[version], adding a suitable suffix if @racket[path]
does not already end in the suffix, then try the second version does not already end in the suffix, then try the second version