commit 8bfe8dddfa5eff5753409d4bad1b2beec750fc48
parent 9cee9100aa6320e5104153105f21466a8a044b1a
Author: Robby Findler <robby@racket-lang.org>
Date: Sat, 31 Jul 2010 09:40:04 -0500
improved contract
original commit: f96ed0632a1b4536ce6bf16df42ae1251cd9e50c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/collects/scribble/base.rkt b/collects/scribble/base.rkt
@@ -285,7 +285,7 @@
[image (->* ((or/c path-string? (cons/c 'collects (listof bytes?))))
(#:scale real?
- #:suffixes (listof #rx"^[.]"))
+ #:suffixes (listof (and/c string? #rx"^[.]")))
#:rest (listof content?)
image-element?)])