From: () Date: Mon Dec 3 19:58:15 EST 2012 |
|
(require "../info.rkt") (displayln (#%info-lookup 'version)) But that seems too raw. From searching the docs, eventually I found `get-info/full`, which I guess would work like this: (require setup/getinfo racket/runtime-path) (define-runtime-path up "..") (define lookup (get-info/full up)) (and lookup (lookup 'version (const "unknown"))) Is that the best way?
Posted on the users mailing list. |
|