The documentation at https://github.com/JuliaStats/Distributions.jl/blob/master/docs/src/types.md declares that distributions with domain in the reals should be subtypes of `ContinuousDistribution`. However, `DiscreteNonParameteric` in https://github.com/JuliaStats/Distributions.jl/blob/master/src/univariate/discrete/discretenonparametric.jl is declared as subtype of `DiscreteDistribution`, violating this rule. This seems a bug (see also my comments at the end of #332).