[racket-dev] Deprecating collects

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Jul 10 19:37:26 EDT 2012

On this front, this-expression-source-directory is, for nearly all
purposes, worse than define-runtime-path.


On Tue, Jul 10, 2012 at 5:54 PM, Vincent St-Amour <stamourv at ccs.neu.edu> wrote:
> At Tue, 10 Jul 2012 18:44:28 -0400,
> Neil Van Dyke wrote:
>> I'm still using some "mzlib" in *new* code.  Specifically, "getpid",
>> "this-expression-source-directory", "gethostname", and perhaps one or
>> two other things.  I could find other ways to do those things if I had
>> to, but those definitions pop up when I search, and there's no glaring
>> warning not to use them.
> Good point.
> We're looking through `mzlib''s bindings to find such functions that
> don't have equivalents elsewhere in the collects. We're planning to move
> these to appropriate libraries. For example, `gethostname' and `getpid'
> should probably go somewhere like `racket/os' (and probably be renamed
> to `get-hostname' and `get-pid').
> Vincent
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.