{
    "name": "bernoulli",
    "synonyms": [ "Bernoulli" ],
    "result_type": "Distribution[Int]",
    "call": "Distributions.bernoulli[p]",
    "title": "The Bernoulli distribution",
    "args": [
        {
            "arg_name": "p",
            "arg_type": "Double",
	    "description": "Probability of success (i.e. drawing a 1)"
        }
    ],
    "description":"The Bernoulli distribution yields 1 with probability p, and 0 with probability (1-p).",
    "examples": ["~bernoulli[0.5]"]
}
