Source
examples/uniform_sum.det
(rec loop x =>
if flip(0.5) then 1 + uniform(0,1) else loop (x-1)) 6