I have a collection based on polynomial code I wrote which I intend to
release at some time in the near future for some simple data processing
routines. The somewhat optimized underlying data structure for random
access use of one of my procedures would be a tree, but the somewhat
optimized structure for plotting would not be a tree but a simple list of
renderers from the plot package. So I intend to offer a separate procedure
for plotting purposes.

In general, this package would only require racket/base, but this one
particular procedure would require plot. What is the right way to handle
this? Should I only include plot in this particular module and expect the
user to also require plot, or include plot and re-provide all-from-out?
Should it be a separate module for just this procedure to avoid unnecessary
loading of the plot library if it isn't used?

Example collection:
simple-polynomial/base
simple-polynomial/spline (may require plot for one procedure)
etc..

Thanks,
Deren

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to