[racket-dev] Planet 2 Beta Release

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu Nov 8 13:05:14 EST 2012

This is Racket feature request.

Racket only supports the "directory require to main.rk require" on
top-level collections, not sub-collections.

Many places in the Racket core have to do this redirect manually too.

Jay

On Thu, Nov 8, 2012 at 11:02 AM, Danny Yoo <dyoo at hashcollision.org> wrote:
>
>
> On Thu, Nov 8, 2012 at 6:16 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>>
>> Now that the 5.3.1 release is finished, I've just pushed the beta release
>> of Planet 2 to the Racket core.
>>
>> I've tried to answer all questions and explain everything about Planet 2
>> in the documentation, which I've uploaded a copy of here:
>>
>> http://faculty.cs.byu.edu/~jay/tmp/20121108-pkgs/planet2/index.html
>>
>> In particular, it explains what the plan is to go from this beta release
>> to the final release.
>>
>> If you currently have packages on Planet 1, I am excited to help you make
>> the transition to Planet 2. (I am currently in the process of converting my
>> packages.) Please do not hesitate to let me know how I can help.
>>
>
> Another issue: main.rkt doesn't seem to be working for me.  Here's what I'm
> seeing:
>
> I have a link to a local package:
>
>
> bash-3.2$ ~/local/racket/bin/raco pkg show
> Package(auto?)    Checksum                                    Source
> c                 81c46fbc1ce318f2733ad9dfce10930be3b4c93a    (pns c)
> stardate          #f                                          (link
> /Users/dyoo/work/stardate)
>
>
> whose directory structure is:
>
> bash-3.2$ ls -l stardate
> total 0
> drwxr-xr-x  3 dyoo  staff  102 Nov  8 10:48 date
> bash-3.2$ ls -l stardate/date
> total 0
> drwxr-xr-x  9 dyoo  staff  306 Nov  8 10:53 stardate
> bash-3.2$ ls -l stardate/date/stardate
> total 48
> drwxr-xr-x  8 dyoo  staff   272 Nov  8 10:52 compiled
> -rw-r--r--  1 dyoo  staff   422 Nov  8 10:49 info.rkt
> -rw-r--r--  1 dyoo  staff   422 Nov  8 10:47 info.rkt~
> -rw-r--r--  1 dyoo  staff    91 Nov  8 10:47 main.rkt
> -rw-r--r--  1 dyoo  staff   776 Nov  8 10:53 manual.scrbl
> -rw-r--r--  1 dyoo  staff   771 Nov  8 10:51 manual.scrbl~
> -rw-r--r--  1 dyoo  staff  1734 Nov  8 10:47 tng-stardate.rkt
>
>
>
> When I try to require date/stardate, I see the following error message:
>
>
>> (require date/stardate)
> default-load-handler: cannot open input file
>   path: /Users/dyoo/work/stardate/date/stardate.rkt
>   system error: No such file or directory; errno=2
>   context...:
>    standard-module-name-resolver
>    /Users/dyoo/local/racket/collects/racket/private/misc.rkt:87:7
>
>
> However, I can still refer to the main module explicitly:
>
>
>> (require date/stardate/main)
>
>
> So something about the resolution of main.rkt isn't working yet.  What other
> debugging info can I provide?



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

Posted on the dev mailing list.