We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9770a9 commit 144cb1eCopy full SHA for 144cb1e
redex-pict-lib/redex/private/pict-interface.rkt
@@ -118,7 +118,9 @@ pict library.
118
[(_ racket-pict:expr rhombus-pict:expr)
119
#'(choose/proc (λ () racket-pict)
120
(λ () rhombus-pict))]))
121
-(define (rhombus-present?) (module-declared? '(lib "pict/main.rhm") #t))
+(define (rhombus-present?)
122
+ (with-handlers ([exn:fail:filesystem:missing-module? (λ (x) #f)])
123
+ (module-declared? '(lib "pict/main.rhm") #t)))
124
(define (choose/proc racket-pict rhombus-pict)
125
(cond
126
[(rhombus-present?)
0 commit comments