At Fri, 1 May 2015 18:11:20 -0700 (PDT), Thomas Lynch wrote:
> Currently there is no way to directly attached arbitrary property 
> information to a collection.

An "info.rkt" file serves that role, where the `setup/getinfo` library
provides the API for querying "info.rkt" files. (The "info.rkt" format
is also used for package information. For single-collection packages,
it's the same file.)

Well, maybe it's little more complicated than that. In general,
multiple directories can be installed and spliced together as the
content of a collection. Each "info.rkt" file can have information
that's specific to it's particular piece of a collection.

In any case, collections don't have versions, ring levels, etc. Those
are properties of packages.


> Asked another way, when I do 'apt-get install racket',  or an analogous 
> command, do no further installation commands (fresh out of the box), 

I think you're needlessly avoiding some terminology that we do have.
You mean "when I install a main distribution of Racket...".

> and 
> then use (require X) in a module,  with no quotes around the X,  then can I 
> know for certain that X is a module that was found in a collection that 
> comes from a ring-0 package?

All packages in the main distribution are ring-0 packages.

> Also, is it true that for all X modules 
> blessed with the property of being ring 0, X can be reached in this manner, 
> or via #lang?

Not all ring-0 packages are in the main distribution.


> [...] 'main distribution collections' 

I think "main distribution collections" is not going to work as a
concept, because packages other than those in the main distribution can
add to collections that are also represented in the main distribution.
That's why ring levels and such are package concepts, as opposed to
collection concepts.


> It would be interesting information for me as an application developer who 
> is using racket to know that distributions come with only ring-0 packages, 
> that there are other ring-0 packages that have been contributed which I 
> might go get, and other ring-1 or ring-2 packages out there which I might 
> experiment with.

That's all correct, at least where "distributions" is "main
distribution". (I don't know of any other distributions, yet.)

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/20150502021622.16F696501BE%40mail-svr1.cs.utah.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to