How to create MixtureModel using distributions from different families

I want to create a MixtureModel from Distributions.jl using Normal distribution and Uniform distribution. Is there a way to do this?

1 Like

MixtureModel([Uniform(0,50), Normal(30,5)],[1/2, 1/2])

Is the above code snippet a valid distribution? I can sample from it. I want to use it in a Turing model.