/usr/share/racket/pkgs/frtime/lang.rkt is in racket-common 6.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | (module lang frtime/lang-utils
(require frtime/lang-ext)
(require (as-is:unchecked (except-in frtime/core/frp undefined undefined?) event-set? signal-value))
(define (value-nowable? x)
(or (not (signal? x))
(not (event-set? (signal-value x)))))
(define ((behaviorof pred) x)
(let ([v (value-now x)])
(or (undefined? v)
(pred v))))
(provide value-nowable? behaviorof
(all-from-out frtime/lang-utils)
(except-out (all-from-out frtime/lang-ext) lift)))
|