Julia allows you to have submodules; you can collect some of your tiny packages into MyUtilityPackages (sketched, not run)
module MyUtilityPackages module StringUtilities export stringfunction function stringfunction .. end end module IntegerUtilities export integerfunction include("integers/MoreIntegerUtilities.jl") # in the subdirectory integers, relative to the directory the outer module lives end end # MyUtilityPackages module MyBigPackage using MyUtilityPackages.StringUtilities using MyUtilityPackages.IntegerUtilities ... end On Monday, April 4, 2016 at 11:11:36 PM UTC-4, Eric Forgy wrote: > > Hi, > > I've been working with Julia for a little while now and notice that I'm > starting to develop a number of very small packages that I use and reuse > all the time. > > I was curious about your opinions on publishing very small "utility" > packages? For example, I am consider making a very tiny package the just > defines a few types that I will use and reuse in many different/distinct > packages and don't want to redefine them each time. However, once I publish > the bigger packages, they will have dependencies on these tiny packages, > which means I'll need to publish these tiny packages too. > > Any thoughts? Is that "ok" or is that bad style? > > Best regards, > Eric >