Matthew Flatt wrote at 12/14/2012 08:53 AM:
At Thu, 13 Dec 2012 23:52:03 -0500, Neil Van Dyke wrote:
Can a program running in Racket VM introspect on itself to determine the
names and versions of PLaneT packages that the program uses?

You should be able traverse the import hierarchy using
`module->imports', perhaps starting with an enclosing module's name as
obtained by

  (variable-reference->module-path-index (#%variable-reference))

Thanks, Matthew.

Neil V.

____________________
 Racket Users list:
 http://lists.racket-lang.org/users

Reply via email to