[racket] How can a collection in a package get its version?

From: Greg Hendershott (greghendershott at gmail.com)
Date: Mon Jun 3 13:57:53 EDT 2013

Let's say I have a command-line utility distributed as a package.

package/
  info.rkt
  collection/
    main.rkt

package/info.rkt is e.g.

    #lang setup/infotab
    (define version "1.1")

In main.rkt, I want to display the version to the user.


Posted on the users mailing list.