[racket-dev] Should `dynamic-require`d libraries be in package dependencies?

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Nov 26 02:24:38 EST 2013

Some package systems like dpkg have "recommended packages".
And if a package is dynamically needed, it should probably be checked for
and fail gracefully with a meaningful message (saying that the package X
should be installed).

Laurent


On Tue, Nov 26, 2013 at 7:55 AM, Asumu Takikawa <asumu at ccs.neu.edu> wrote:

> Hi all,
>
> Should dynamically required libraries induce a package dependency?
>
> Take for example the "xrepl-lib" package. It currently depends on five
> other packages, but I think two of them can be dropped and `raco setup`
> won't complain.
>
> On the other hand, XREPL may `dynamic-require` the macro stepper (one of
> the dependencies that can be dropped). The same is true for DrRacket
> (not listed as a dependency), but it doesn't make much sense to make the
> XREPL package depend on DrRacket.
>
> Is there a best practice for these kinds of cases yet?
>
> Cheers,
> Asumu
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20131126/8b4a9642/attachment.html>

Posted on the dev mailing list.