For my own modules, I've tended to follow the example of the Distributions
and Distances package, where each distribution (or distance) is its own
type, and then there is a small number of generic functions (eg evaluate)
that use multiple dispatch to return the appropriate value depending
Just wanted to say thanks for responding, and if you do encounter that
thread again in your travels, I'd be very grateful if you could post a link
(but please don't waste time searching for it on my behalf).
Cheers,
Colin
On Monday, 18 May 2015 18:22:06 UTC+10, Mauro wrote:
For my own
Hi all,
I'm just writing with a broad question about how to structure a module in
Julia.
For my own modules, I've tended to follow the example of the Distributions
and Distances package, where each distribution (or distance) is its own
type, and then there is a small number of generic