Hi Scott,

You can `require' a particular file using one of the following:

  (require "foo/bar.xyz") ;; require foo/bar.xyz relative to the current
module
  (require (lib "foo/bar.xyz")) ;; require the bar.xyz in the "foo"
collection

Regards,
Adolfo



2014-03-16 22:29 GMT+01:00 Moore, Scott <[email protected]>:

> I am developing a #lang with a custom reader and I'd like to use different
> extension for it (rather than ".rkt").
> However, this doesn't work with require forms like "require foo/bar"
> because racket looks for foo/bar.rkt. Is there a way to tell racket about
> the extension I wanted to use?
>
> Thanks,
> Scott
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to