Source examples/paper/dungeon.det
let crawl = fun loot =>  (rec visit depth =>    if flip(0.25) then 0    else loot depth + visit (depth + 1)  ) 1incrawl (fun depth => 200 * depth * bernoulli(0.01))