# handle_simulate

function handle_simulate<Right>(p:Right) -> Right.Value

Handle simulate event.

• p: Distribution.

Returns: Value simulated from the distribution.

Attention

Typically one does not call this directly, but rather uses the <~ operator, which is hard-wired to call this internally.