Source examples/loops/irwin_hall.det
(* Irwin-Hall distribution. *)let M = 200 inlet loop =  rec loop i =>    fun x =>      if i <= M then        let y = uniform(0,1) in        loop (i + 1) (x + y)      else        xinloop 1 0