From 1b050905e9e7260008424568116b14ead64d57b1 Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Sun, 31 Jul 2016 23:18:58 -0400 Subject: [PATCH] Add example for collection-file-path --- pkgs/racket-doc/scribblings/reference/collects.scrbl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/racket-doc/scribblings/reference/collects.scrbl b/pkgs/racket-doc/scribblings/reference/collects.scrbl index 627e7ee501..bd88ba0b30 100644 --- a/pkgs/racket-doc/scribblings/reference/collects.scrbl +++ b/pkgs/racket-doc/scribblings/reference/collects.scrbl @@ -293,6 +293,9 @@ source), and its result is the result of and the collection is not found, then the @exnraise[exn:fail:filesystem]. +@examples[(collection-file-path "main.rkt" "racket" "base") + (eval:error (collection-file-path "sandwitch.rkt" "bologna"))] + @history[#:changed "6.0.1.12" @elem{Added the @racket[check-compiled?] argument.}]}