(demo-drawing-cursor-inks drawing))
(%trace2 ";blinked on\n")
(sleep-current-thread 500)
- (if (there-exists?
- (demo-drawing-cursor-inks drawing)
- (lambda (cursor.widgets)
- (there-exists? (cdr cursor.widgets)
- (lambda (w) (not (gtk-widget-destroyed? w))))))
+ (if (any (lambda (cursor.widgets)
+ (any (lambda (w) (not (gtk-widget-destroyed? w)))
+ (cdr cursor.widgets)))
+ (demo-drawing-cursor-inks drawing))
(loop)
(%trace ";blinking ended\n"))))))
\f
burst-string read-line write-string ->namestring
error:wrong-type-argument real? ->flonum symbol-name
guarantee-list-of-type->length
- guarantee-procedure-of-arity guarantee-real
+ guarantee-procedure-of-arity
universal-time->local-time-string
define-class define-method initialize-instance
system-global-environment
;; Many of these are in usual-integrations/expansion-names
;; and thus do not have to be imported, but are listed here
;; anyway for completeness (and analysis someday).
- guarantee-integer integer-divide round->exact truncate->exact
+ guarantee integer-divide round->exact truncate->exact
->flonum flo:= flo:< flo:<= flo:+ flo:- flo:* flo:/
flo:negative? flo:negate flo:truncate
flo:sin flo:cos flo:atan2 flo:sqrt flo:atan
(queue! 'time-to (->time (car args))))
((eq? keyword 'HOUR-TO)
(let ((hour (car args)))
- (guarantee-integer hour 'hour-to)
+ (guarantee integer? hour 'hour-to)
(if (or (< hour 0) (< 23 hour))
(error "Invalid hour:" hour))
(queue! 'hour-to hour)))